Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: flake8-abp/tests/A302.py

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)
Left Patch Set: Added more checks, tests, README and addressed comments Created May 7, 2016, 5:13 p.m.
Right Patch Set: Addressed comments, fixed two bugs, use ascii() Created May 9, 2016, 4:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « flake8-abp/tests/A301.py ('k') | flake8-abp/tests/A303.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # A302 1 # * A302
2 from io import open 2 def foo(type):
3 file = open(__file__) 3 # A302
4 from io import open
5 file = open(__file__)
4 6
5 # A302 7 # A302
6 id = 0 8 id = 0
9
10 return (file, id)
7 11
8 12
9 # A302 13 try:
10 def hash(): 14 unichr
11 pass 15 except NameError:
12 16 unichr = chr
13
14 # A302
15 class Exception:
16 pass
17 17
18 18
19 class Foo: 19 class Foo:
20 id = 0 20 id = 0
21 21
22 def type(self): 22 def type(self):
23 pass 23 pass
LEFTRIGHT

Powered by Google App Engine
This is Rietveld