We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7400aff commit c88d21eCopy full SHA for c88d21e
pycodestyle.py
@@ -461,7 +461,7 @@ def is_a_slice(line, space_pos):
461
# check for a lambda expression nested in brackets
462
if space_pos > 6:
463
last_opened = parentheses_brackets_braces[-1]
464
- between_bracket_colon = line[last_opened[1] + 1 : space_pos]
+ between_bracket_colon = line[last_opened[1] + 1: space_pos]
465
is_lambda_expr = 'lambda' in between_bracket_colon
466
467
return (is_within_brackets and not is_lambda_expr)
0 commit comments