diff options
-rwxr-xr-x | pep8.py | 2 | ||||
-rw-r--r-- | testsuite/E25.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -771,7 +771,7 @@ def whitespace_around_named_parameter_equals(logical_line, tokens): no_space = False if start != prev_end: yield (prev_end, message) - elif token_type == tokenize.OP: + if token_type == tokenize.OP: if text == '(': parens += 1 elif text == ')': diff --git a/testsuite/E25.py b/testsuite/E25.py index 37d0d42..9b7ff69 100644 --- a/testsuite/E25.py +++ b/testsuite/E25.py @@ -17,6 +17,11 @@ parser.add_argument('--long-option', #: E251:1:45 parser.add_argument('--long-option', default ="/rather/long/filesystem/path/here/blah/blah/blah") +#: E251:3:8 E251:3:10 +foo(True, + baz=(1, 2), + biz = 'foo' + ) #: Okay foo(bar=(1 == 1)) foo(bar=(1 != 1)) |