Change List[...] formatting on function parameter type-hints #1386
Labels
F: linebreak
How should we split up lines?
R: duplicate
This issue or pull request already exists
T: style
What do we want Blackened code to look like?
When a function has enough arguments to put each parameter on its own line, and one of those parameters is a List, Set, etc. with a default argument that is not the correct type, it gets very gross looking.
Examples in the current Black style Think of some short code snippets that show
how the current Black style is not great:
Problematic style
Desired style How do you think Black should format the above snippets:
This is a unique case, but it is gross formatting nonetheless
The text was updated successfully, but these errors were encountered: