pylint is becoming really slow as I pull in more d...
# general
b
pylint is becoming really slow as I pull in more dependencies. Just to run
pylint
, do we need to build requirements.pex and all? Is there anyway I can avoid the building step?
h
Unfortunately, yeah. Pylint requires third-party deps to work, unlike Flake8.
do we need to build requirements.pex and all?
You could experiment with this option https://www.pantsbuild.org/docs/reference-python#run_against_entire_lockfile
b
Yes and pylint is also a product of its time (pre-type hints) so it parses all of your dependencies source code and try to infer their input/return types 😵 So, very cool, but very slow
âž• 1