diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-04 00:22:38 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-04-04 00:22:38 +0200 |
commit | 0a10f3ce45a25bbec3c64ec1eb46c13ed1386cf5 (patch) | |
tree | c49384d9a2c56538cf7807d7e271d673c1eb0722 /testsuite/E25.py | |
parent | 9283cce1b5b2756d8f17784931fae4612c12b29b (diff) | |
download | pep8-0a10f3ce45a25bbec3c64ec1eb46c13ed1386cf5.tar.gz |
Do not allow newline after parameter equal; issue #252
Diffstat (limited to 'testsuite/E25.py')
-rw-r--r-- | testsuite/E25.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/E25.py b/testsuite/E25.py index b8031ec..37d0d42 100644 --- a/testsuite/E25.py +++ b/testsuite/E25.py @@ -10,6 +10,13 @@ foo(bar =True) foo(bar = True) #: E251 y = bar(root= "sdasd") +#: E251:2:29 +parser.add_argument('--long-option', + default= + "/rather/long/filesystem/path/here/blah/blah/blah") +#: E251:1:45 +parser.add_argument('--long-option', default + ="/rather/long/filesystem/path/here/blah/blah/blah") #: Okay foo(bar=(1 == 1)) foo(bar=(1 != 1)) |