Skip to content

Commit c88d21e

Browse files
committed
ironically remove space to comply with flake8
1 parent 7400aff commit c88d21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycodestyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def is_a_slice(line, space_pos):
461461
# check for a lambda expression nested in brackets
462462
if space_pos > 6:
463463
last_opened = parentheses_brackets_braces[-1]
464-
between_bracket_colon = line[last_opened[1] + 1 : space_pos]
464+
between_bracket_colon = line[last_opened[1] + 1: space_pos]
465465
is_lambda_expr = 'lambda' in between_bracket_colon
466466

467467
return (is_within_brackets and not is_lambda_expr)

0 commit comments

Comments
 (0)