Merge lp://staging/~jml/pocket-lint/singleton-tuples into lp://staging/pocket-lint
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | 323 |
Merged at revision: | 323 |
Proposed branch: | lp://staging/~jml/pocket-lint/singleton-tuples |
Merge into: | lp://staging/pocket-lint |
Diff against target: |
10 lines (+2/-0) 1 file modified
pocketlint/contrib/pep8.py (+2/-0) |
To merge this branch: | bzr merge lp://staging/~jml/pocket-lint/singleton-tuples |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey | code | Approve | |
Review via email: mp+37242@code.staging.launchpad.net |
Commit message
Do not warn about valid singleton tuples.
Description of the change
pep8.py warns about singleton tuples written like (foo,). It should not. This branch fixes that.
No tests, since I couldn't find any. I tested by running contrib/pep8.py against a file with the contents:
foo = (123,)
To post a comment you must log in.
Thanks for the patch. Should this go upstream?