Open chimichunga1 opened 1 year ago
3.0.0a0 is an abandoned branch from over two years ago. Can you try on a more recent version?
3.0.0a0 is an abandoned branch from over two years ago. Can you try on a more recent version?
Also tried 2.5,2.6, and 2.15 but did not work. What Worked for me was I just used the pylint wrapper instead (pylint-unittest package)
The last version is 2.17.2 or 3.0.0a6 at the moment.
Expected behavior Coverage failure: total of 69 is less than fail-under=70
Ah, I see. Is your report about the (lack of) wording in the message itself? It's true --fail-under
does not affect the wording of the message printed to the terminal. It just affects whether the tool exits with a failure code, which you can check with echo $?
.
I think that's a positive usability change to indicate the failure somehow in the terminal output. Suggesting we consider this for pylint 3.0.
Bug description
I currently have this issue where running the fail-under flag on my pylintrc does not trigger an error return (hoping for a response the same as the fail-under on the coverage run package)
It only return the score response and does not seem to check the fail under flag implemented on my rcfile
Configuration
Command used
Pylint output
Expected behavior
Coverage failure: total of 69 is less than fail-under=70
Something similar to the coverage report response above
Pylint version
OS / Environment
MacOs Monterey Version 12.4
Additional dependencies
No response