-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It seems like the way Black formats the code can cause the E231 violation during the Flake8 check.
./tests/test_graphql_client.py:88:75: E231 missing whitespace after ','
./tests/test_graphql_client.py:189:75: E231 missing whitespace after ','
I tried to manually add a whitespace after , at the two places above but Black removes them during pre-commit.
To Reproduce
Refer to the following failed jobs on Github Actions.
- https://github.com/prodigyeducation/python-graphql-client/runs/409715041?check_suite_focus=true#step:6:9
- https://github.com/prodigyeducation/python-graphql-client/runs/407818566?check_suite_focus=true#step:6:9
- https://github.com/prodigyeducation/python-graphql-client/runs/407814417?check_suite_focus=true#step:6:9
Expected behavior
Falke8 shouldn't complain about the formatted code by Black.
Additional context
A simple fix could be to tweaking .setup.cfg. so that Falke8 ignores the E231 linting rule.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working