-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same error is reported multiple times when using multiprocessing (including performance decrease) #3584
Comments
For now, a simple workaround is to pipe the output of pylint through |
We're seeing extreme numbers with ~14000 lines output on 6 CPUs of which only 132 are unique lines. Also the run times have increased very much from minutes to over an hour with 6 CPUs (probably related?). The extreme behavior (including the running time multiplication) can be reproduced by extending the example above to higher numbers:
and the run time accordingly. pylint 2.5.2 |
What if we request stats? |
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode
* As long as no fix is released for pylint-dev/pylint#3584.
Any idea what's required to fix this, and when it might be addressed, or how could people help out with it? The proposed workaround of piping through |
Revert to 2.5.3 until 2.7 comes out with fix in pylint-dev/pylint#3584
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Due to an pylint issue pylint-dev/pylint#3584 single error/warning is printed multiple times when using pylint in multiprocessing mode GitOrigin-RevId: b823f8a2e833444b2ede28b206ed53aa057acb48
Steps to reproduce
For example
test\spam11.py:1:0: E0602: Undefined variable 'fdd' (undefined-variable)
is reported four times.Current behavior
The same error is reported multiple times.
Expected behavior
Each error is reported only once (and in the report at the correct place).
pylint --version output
The text was updated successfully, but these errors were encountered: