Skip to content

Commit f184416

Browse files
committed
Merge branch 'issue-323'
2 parents da9f37d + d3720db commit f184416

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ def whitespace_around_named_parameter_equals(logical_line, tokens):
771771
no_space = False
772772
if start != prev_end:
773773
yield (prev_end, message)
774-
elif token_type == tokenize.OP:
774+
if token_type == tokenize.OP:
775775
if text == '(':
776776
parens += 1
777777
elif text == ')':

testsuite/E25.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ def foo(bar = False):
1717
#: E251:1:45
1818
parser.add_argument('--long-option', default
1919
="/rather/long/filesystem/path/here/blah/blah/blah")
20+
#: E251:3:8 E251:3:10
21+
foo(True,
22+
baz=(1, 2),
23+
biz = 'foo'
24+
)
2025
#: Okay
2126
foo(bar=(1 == 1))
2227
foo(bar=(1 != 1))

0 commit comments

Comments
 (0)