-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
F: linetoolongBlack makes our lines too longBlack makes our lines too longT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
Describe the bug
Lines containing the global keyword are not properly wrapped when line length is exceeded.
To Reproduce
Input:
def f():
global \
analyze_featuremap_layer, \
analyze_featuremapcompression_layer, \
analyze_latencies_post, \
analyze_motions_layer, \
analyze_size_modelOutput:
def f():
global analyze_featuremap_layer, analyze_featuremapcompression_layer, analyze_latencies_post, analyze_motions_layer, analyze_size_modelExpected behavior
Output should be same as input.
Environment (please complete the following information):
- Version: 19.10b0
- OS and Python version: Arch Linux; Python 3.8
Does this bug also happen on master?
Yes.
Additional context
N/A.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
F: linetoolongBlack makes our lines too longBlack makes our lines too longT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?