Description
Originally reported by: Robert Spier (BitBucket: robert_spier)
Parallelism (--jobs) changes the output of pylint.
It's not just the order of the tests, --jobs=2 outputs 18468 lines of output compared to only 21 for --jobs=1. pylint 1.3.1 reports no lint errors.
$ venv/bin/pylint --jobs=2 --rcfile=$PWD/pylintrc app/codein app/melange app/soc app/summerofcode app/settings.py app/urls.py app/main.py tests pavement.py setup.py 2>&1 | head
************* Module codein.callback
W: 17, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 18, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 19, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 20, 0: import missing from __future__ import absolute_import
(no-absolute-import)
************* Module codein.types
W: 17, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 18, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 20, 0: import missing from __future__ import absolute_import
(no-absolute-import)
W: 21, 0: import missing from __future__ import absolute_import
(no-absolute-import)
$ venv/bin/pylint --jobs=1 --rcfile=$PWD/pylintrc app/codein app/melange app/soc app/summerofcode app/settings.py app/urls.py app/main.py tests pavement.py setup.py 2>&1 | head
************* Module main
E: 46, 2: print statement used (print-statement)
E: 47, 2: print statement used (print-statement)
E: 48, 2: print statement used (print-statement)
E: 49, 2: print statement used (print-statement)
E: 50, 2: print statement used (print-statement)
************* Module tests.test_utils
E:658, 8: print statement used (print-statement)
E:662,10: print statement used (print-statement)
E:667, 8: print statement used (print-statement)
This is with the current head of the pylint repository. (1889:e404dd4d6e37 tip)
The source code being linted is https://code.google.com/p/soc/