You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/tmp/venv/bin/pylint", line 10, in <module>
sys.exit(run_pylint())
File "/tmp/venv/lib/python3.8/site-packages/pylint/__init__.py", line 22, in run_pylint
PylintRun(sys.argv[1:])
File "/tmp/venv/lib/python3.8/site-packages/pylint/lint/run.py", line 338, in __init__
linter.check(args)
File "/tmp/venv/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 874, in check
check_parallel(
File "/tmp/venv/lib/python3.8/site-packages/pylint/lint/check_parallel.py", line 100, in check_parallel
for module, messages, stats, msg_status in pool.imap_unordered(
File "/usr/lib/python3.8/multiprocessing/pool.py", line 865, in next
raise value
ImportError: Unable to find module for package/file.py in /tmp/venv/bin,
/usr/lib/python38.zip,
/usr/lib/python3.8,
/usr/lib/python3.8/lib-dynload,
/tmp/venv/lib/python3.8/site-packages,
/tmp/venv/lib/python3.8/site-packages/astroid/brain
Running:
pylint ./package
# no output, it works
Expected behavior
In version pylint-2.4.4/astroid-2.3.3 it was working fine.
pip install 'pylint==2.4.4'
pylint --version
# pylint 2.4.4# astroid 2.3.3
pylint -j0 ./package
# no output, it works
The text was updated successfully, but these errors were encountered:
crisbal
changed the title
-j0 option broken in pylint 2.5.0
-j0 option broken in pylint 2.5.0 - ImportError: Unable to find module .... in sys.path
Apr 29, 2020
Hello, the
-j0
option is broken in pylint 2.5.0This also breaks with any j > 1, thus when multiprocessing is enabled.
Steps to reproduce
Current behavior
Outputs the following:
Running:
pylint ./package # no output, it works
Expected behavior
In version pylint-2.4.4/astroid-2.3.3 it was working fine.
pylint --version output
The text was updated successfully, but these errors were encountered: