-
-
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
-j 0 causes infinite recursion on Windows #6609
Comments
I assume |
@DanielNoord Yep, but any valid Python source gives the same result for me. I tried different sources trying to find the cause before I found out that even empty file produces crash, so I started looking into my config file settings, and nailed it down to |
Could you give me your config file as well? I can't reproduce this on |
I've just reproduced successfully with config file containing only a single |
I've added |
❯ pylint --version
pylint 2.14.0-b1
astroid 2.11.5
Python 3.10.0 (default, Oct 27 2021, 16:20:25) [Clang 13.0.0 (clang-1300.0.29.3)]
❯ cat pylintrc
[MASTER]
❯ pylint -j 0 setup.py
************* Module setup
setup.py:1:0: C0114: Missing module docstring (missing-module-docstring)
-------------------------------------------------------------------
Your code has been rated at 5.00/10 (previous run: 10.00/10, -5.00) We'll need to investigate this a little further. I don't really have the time to dig into this now, but it might indeed be some dependency. |
Also, Python version is different in your setup, it might be important. |
Also, please try |
Quickly tried: ❯ pylint --version
pylint 2.14.0-b1
astroid 2.11.5
Python 3.10.4 (main, Apr 7 2022, 19:54:21) [Clang 13.0.0 (clang-1300.0.29.30)]
❯ cat pylintrc
[MASTER]
❯ pylint -j 2 setup.py
************* Module setup
setup.py:1:0: C0114: Missing module docstring (missing-module-docstring)
------------------------------------------------------------------
Your code has been rated at 5.00/10 (previous run: 5.00/10, +0.00) 😓 But I haven't installed all dependencies. So that might be it? |
Your Python: Are you trying to reproduce on Windows? On Ubuntu everything works fine for me. |
Ah silly me. This is a duplicate of #6012. Should have read the stacktrace a little bit better. Basically, we know about the issue but this needs to be fixed by a new release of |
Oh, I see. Thank you! Uninstalling |
Sorry for the inconvenience! |
Bug description
Any number of jobs other than
1
(i. e.0
,2
,3
,4
etc.) causes pylint to go into infinite recursion on any input file.Both
jobs=0
in config and-j 0
in command line work the same.Command used
Pylint output
Expected behavior
No output
Pylint version
OS / Environment
Additional dependencies
The text was updated successfully, but these errors were encountered: