-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Milestone
Description
Bug description
Running "pylint test.py --disable=all" takes more than 3s!
$ touch test.py
$ time pylint test.py --disable=all
real 0m3.684s
user 0m0.000s
sys 0m0.015s
Running pylint without "disable=all" on a little project (150-lines telegram bot) takes more than 8s. It is non-usable.
$ time pylint main.py
************* Module main
main.py:137:7: R0133: Comparison between constants: '0 == 1' has a constant value (comparison-of-constants)
main.py:147:0: C0116: Missing function or method docstring (missing-function-docstring)
------------------------------------------------------------------
Your code has been rated at 9.57/10 (previous run: 9.57/10, +0.00)
real 0m8.352s
user 0m0.000s
sys 0m0.000s
Configuration
No response
Command used
pylint test.py
Pylint output
...
Expected behavior
It is unacceptable that even on an empty file pylint runs for at least 3 seconds. I use the VS Code extension in my project, which for a small example with a 150-line project reacts to changes in 8 (!) seconds. This is literally impossible to use.
Pylint version
$ pylint --version
pylint 2.17.4
astroid 2.15.5
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)]
OS / Environment
Windows 11
Additional dependencies
No response