Redundant parentheses around return annotation #2041
Labels
F: parentheses
Too many parentheses, not enough parentheses, and so on.
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: style
What do we want Blackened code to look like?
became
The parentheses were only there to allow wrapping and should have been removed. In general, black doesn't need to preserve parentheses around an entire expression, including a type annotation.
The text was updated successfully, but these errors were encountered: