-
Notifications
You must be signed in to change notification settings - Fork 2.7k
flake8 error E231 after a successful black run #1289
Copy link
Copy link
Closed
Labels
R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: bugSomething isn't workingSomething isn't working
Description
To Reproduce Steps to reproduce the behavior:
- Take this file:
example.py
# A set literal with a trailing comma.
{
"Something": {"hi": {"My", "set", "items",}},
"Something else": {},
}- Run Black on it:
black example.py
All done! ✨ 🍰 ✨
1 file left unchanged.
- Run
flake8on it:
flake8 example.py
example.py:3:46: E231 missing whitespace after ','
Expected behavior A clear and concise description of what you expected to happen.
Expecting not to get any flake8 errors barring the different line length setting, and edge cases where black is unable to condense output under 88 chars.
Environment (please complete the following information):
Python 3.8.1
black, version 19.10b1.dev26+g8fef74c
flake8 3.7.9 (mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.8.1 on Linux
Also getting the same behaviour with black-19.10b0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: bugSomething isn't workingSomething isn't working