Skip to content

Commit e5cdc22

Browse files
committed
Add lines breaks
1 parent b8db33d commit e5cdc22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pycodestyle.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,10 +1451,12 @@ def ambiguous_identifier(logical_line, tokens):
14511451
if prev_text == 'def':
14521452
is_func_def = True
14531453
# update parameter parentheses level
1454-
if parameter_parentheses_level == 0 and prev_type == tokenize.NAME and \
1454+
if parameter_parentheses_level == 0 and \
1455+
prev_type == tokenize.NAME and \
14551456
token_type == tokenize.OP and text == '(':
14561457
parameter_parentheses_level = 1
1457-
elif parameter_parentheses_level > 0 and token_type == tokenize.OP:
1458+
elif parameter_parentheses_level > 0 and \
1459+
token_type == tokenize.OP:
14581460
if text == '(':
14591461
parameter_parentheses_level += 1
14601462
elif text == ')':

0 commit comments

Comments
 (0)