-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Flake8 v5 was just released earlier today. Unfortunately this breaks blue
as it now crashes with this error:
Traceback (most recent call last):
File "/tmp/tox/prisma-client-py/lint/lib/python3.9/site-packages/blue/__init__.py", line 397, in <module>
BaseConfigParser = flake8_config.ConfigParser # flake8 v4
AttributeError: module 'flake8.options.config' has no attribute 'ConfigParser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/tox/prisma-client-py/lint/bin/blue", line 5, in <module>
from blue import main
File "/tmp/tox/prisma-client-py/lint/lib/python3.9/site-packages/blue/__init__.py", line 399, in <module>
BaseConfigParser = flake8_config.MergedConfigParser # flake8 v3
AttributeError: module 'flake8.options.config' has no attribute 'MergedConfigParser'
Constraining the flake8 dependency to v4 fixes the error.
Metadata
Metadata
Assignees
Labels
No labels