-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
F: commentsThe syntactic kind. Not in the language grammar, always on our minds. Best bugs.The syntactic kind. Not in the language grammar, always on our minds. Best bugs.T: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
Operating system: Linux
Python version: 3.6
Black version: 18.4a5
Does also happen on master: ?
Using a long list of typing imports with #noqa because my code is py2 compatible so I'm using the comment syntax for type hints
original code
from typing import Dict, List, Set, ... # noqa
becomes
from typing import (
Dict,
List,
Set,
...,
) # noqa
but flake8 wants
from typing import ( # noqa
Dict,
List,
Set,
...,
)
feluxe, abusque, jarednielsen, tonysyu, han-qiu and 5 more
Metadata
Metadata
Assignees
Labels
F: commentsThe syntactic kind. Not in the language grammar, always on our minds. Best bugs.The syntactic kind. Not in the language grammar, always on our minds. Best bugs.T: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?