-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
4.0.0 crashes with TypeError #1408
Comments
It doesn't crash with a single subprocess:
|
Do you have a minimal code example of when this happens? |
* Due to an upstream bug in the lastest 4.0.0 release limit the concurrency of the flake8 checks to prevent failures. See also: PyCQA/flake8#1408 Change-Id: I45a9808b0e442d6fefeb8abdadb1a67498bd4eda
This should do it:
If I run |
I narrowed this issue to a single directory in our test suite: $ flake8 tests/test_runner_apps/tagged
...
File "/.virtualenvs/django-test-3.8/lib/python3.8/site-packages/flake8/checker.py", line 274, in run_parallel
filename, results, statistics = ret
TypeError: cannot unpack non-iterable NoneType object |
It works when I delete a file with the syntax error which is in it 🤔. |
Yes, one of the files in the directory that causes problems for us also has a (deliberate) syntax error in it. |
Many thanks! |
We noticed a regression in
flake8==4.0.0
bisected to the d1a4043. Runningflake8
on the Django repository crashes, e.g.flake8
is installed viapip
:The text was updated successfully, but these errors were encountered: