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

Side by Side Diff: flake8-abp/tests/A204.py

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)
Patch Set: Added more checks, tests, README and addressed comments Created May 7, 2016, 5:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 def noop():
2 pass
3
4
5 def superfluos_pass():
6 noop()
7 # A204
8 pass
9
10
11 def multiple_pass():
12 pass
13 # A204
14 pass
15
16
17 class SuperfluosPass:
18 noop()
19 # A204
20 pass
21
22
23 class MultiplePass:
24 pass
25 # A204
26 pass
27
28
29 if True:
30 noop()
31 # A204
32 pass
33 else:
34 noop()
35 # A204
36 pass
37
38 for i in range(10):
39 noop()
40 # A204
41 pass
42 else:
43 noop()
44 # A204
45 pass
46
47 while True:
48 noop()
49 # A204
50 pass
51 else:
52 noop()
53 # A204
54 pass
55
56 try:
57 noop()
58 # A204
59 pass
60 except:
61 noop()
62 # A204
63 pass
64 finally:
65 noop()
66 # A204
67 pass
OLDNEW

Powered by Google App Engine
This is Rietveld