flake8 .
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.12/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/checker.py", line 83, in _mp_run
).run_checks()
^^^^^^^^^^^^
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/checker.py", line 526, in run_checks
self.run_ast_checks()
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/checker.py", line 428, in run_ast_checks
for line_number, offset, text, _ in runner:
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8_commas/_base.py", line 333, in run
for error in get_comma_errors(tokens):
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8_commas/_base.py", line 306, in get_comma_errors
(token.type == COLON and stack[-1].comma == LAMBDA_EXPR)
~~~~~^^^^
IndexError: list index out of range
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/rixx/.local/share/virtualenvs/pretalx/bin/flake8", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/main/cli.py", line 23, in main
app.run(argv)
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/main/application.py", line 198, in run
self._run(argv)
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/main/application.py", line 187, in _run
self.run_checks()
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/main/application.py", line 103, in run_checks
self.file_checker_manager.run()
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/checker.py", line 236, in run
self.run_parallel()
File "/home/rixx/.local/share/virtualenvs/pretalx/lib/python3.12/site-packages/flake8/checker.py", line 205, in run_parallel
self.results = list(pool.imap_unordered(_mp_run, self.filenames))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/multiprocessing/pool.py", line 873, in next
raise value
IndexError: list index out of range
What's wrong
How it should be
-
Flake8 version and plugins
pip information
OS information
Linux 6.9.10-arch1-1