https://pantsbuild.org/ logo
#general
Title
# general
b

boundless-zebra-79556

10/24/2022, 5:01 PM
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

hundreds-father-404

10/24/2022, 5:04 PM
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

bitter-ability-32190

10/24/2022, 5:18 PM
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