I have a small repository that stores the Python coding standards adopted by the team in the pylint configuration form. Also there are instructions and requirements.txt for installation via pip:
pip install -r requirements.txt Obviously, requirements.txt must be pylint. But the official documentation for pylint clearly indicates that the astroid package is also required for pylint to work.
I made sure that the pip install pylint successfully installs astroid and other dependencies:
Before:
(venv)➜ pip list pip (7.1.2) setuptools (18.2) wheel (0.24.0) After:
(venv)➜ pip list astroid (1.4.6) colorama (0.3.7) lazy-object-proxy (1.2.2) pip (7.1.2) pylint (1.5.6) setuptools (18.2) six (1.10.0) wheel (0.24.0) wrapt (1.10.8) It seems that everything works. But the dependency is for some reason explicitly indicated in the documentation, and even a separate installation instruction is given.
Q: Should I add astroid and other dependencies to requirements.txt? Is there a standard that gives an unequivocal answer to this question?