Skip to content

Statistics wrong if using --jobs argument #501

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

Closed
pylint-bot opened this issue Mar 25, 2015 · 2 comments
Closed

Statistics wrong if using --jobs argument #501

pylint-bot opened this issue Mar 25, 2015 · 2 comments
Labels

Comments

@pylint-bot
Copy link

Originally reported by: Pavel Roskin (BitBucket: pavel_roskin)


Support we have two files, first.py and second.py that both have one line inside:

pass

pylint first.py second.py and pylint --jobs=2 first.py second.py produce different output.

Interesting parts from the diff:

-3 statements analysed.
+4 statements analysed.

In fact, there are just two statements.

-% errors / warnings by module

The whole section is missing.

-|missing-docstring |2           |
+|missing-docstring |1           |

There are actually two missing docstrings. Both invocations emitted two missing-docstring messages, but the stats in the report are wrong.


@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


Improve the message report for --jobs. Closes issue #501.

@pylint-bot
Copy link
Author

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


Should be fixed now. The "errors / warnings" missing section and the message stats problem was fixed by 158aca284889, while the different number of statements was fixed by d69d5b71899ac0b0354e65b490183df1f72e8fd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant