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

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

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)
Left Patch Set: Accounf for elif Created April 22, 2016, 2:35 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:
Right: Side by side diff | Download
« no previous file with change/comment | « flake8-abp/tests/A205.py ('k') | flake8-abp/tests/A207.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
(no file at all)
1 def noop():
2 pass
3
4
5 def else_after_return():
6 if True:
7 return
8 else:
9 # A206
10 noop()
11
12
13 def else_after_raise():
14 if True:
15 raise Exception()
16 else:
17 # A206
18 noop()
19
20
21 def else_after_return_in_except():
22 try:
23 noop()
24 except:
25 return
26 else:
27 # A206
28 noop()
29
30
31 for i in range(10):
32 if i == 0:
33 continue
34 else:
35 # A206
36 noop()
37
38 if i == 1:
39 break
40 else:
41 # A206
42 noop()
LEFTRIGHT

Powered by Google App Engine
This is Rietveld