File tree Expand file tree Collapse file tree 3 files changed +25
-34
lines changed
Expand file tree Collapse file tree 3 files changed +25
-34
lines changed Original file line number Diff line number Diff line change 11# careful: whitespace is very important in this file
22# also, this code runs - so everything should be a noop
33
4-
54class BlankLineBetweenMethods (object ):
65 def method1 (self ):
76 pass
87
98 def method2 (self ):
109 pass
1110
12-
1311def BlankLineInFunction (self ):
1412 return 7
1513
1614 pass
1715
18-
19- # StartTest-blank_lines_in_for_loop
16+ #StartTest-blank_lines_in_for_loop
2017for i in range (2 ):
2118 pass
2219
2320 pass
24- # EndTest
21+ #EndTest
2522
26- # StartTest-blank_line_in_try_catch
23+ #StartTest-blank_line_in_try_catch
2724try :
2825 1
2926
3027except :
3128 2
32- # EndTest
29+ #EndTest
3330
34- # StartTest-blank_line_in_try_catch_else
31+ #StartTest-blank_line_in_try_catch_else
3532try :
3633 1
3734
@@ -40,15 +37,13 @@ def BlankLineInFunction(self):
4037
4138else :
4239 3
43- # EndTest
40+ #EndTest
4441
45- # StartTest-blank_trailing_line
42+ #StartTest-blank_trailing_line
4643def foo ():
4744 return 1
4845
49-
50- # EndTest
51-
46+ #EndTest
5247
5348def tabs ():
54- return 1
49+ return 1
Original file line number Diff line number Diff line change 1- # careful! Whitespace is very important in this file
2-
1+ #careful! Whitespace is very important in this file
32
43class BlankLineBetweenMethods (object ):
54 def method1 (self ):
65 pass
7-
6+
87 def method2 (self ):
98 pass
109
11-
1210def BlankLineInFunction (self ):
1311 return 7
14-
12+
1513 pass
1614
17-
18- # StartTest-blank_lines_in_for_loop
15+ #StartTest-blank_lines_in_for_loop
1916for i in range (2 ):
2017 pass
21-
18+
2219 pass
23- # EndTest
20+ #EndTest
2421
25- # StartTest-blank_line_in_try_catch
22+ #StartTest-blank_line_in_try_catch
2623try :
2724 1
28-
25+
2926except :
3027 2
31- # EndTest
28+ #EndTest
3229
33- # StartTest-blank_line_in_try_catch_else
30+ #StartTest-blank_line_in_try_catch_else
3431try :
3532 1
36-
33+
3734except :
3835 2
39-
36+
4037else :
4138 3
42- # EndTest
39+ #EndTest
4340
44- # StartTest-blank_trailing_line
41+ #StartTest-blank_trailing_line
4542def foo ():
4643 return 1
4744
48-
49- # EndTest
50-
45+ #EndTest
5146
5247def tabs ():
5348 return 1
Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ exclude = '''
1414 | buck-out
1515 | build
1616 | dist
17+ | bpython/test/fodder
1718)/
1819'''
You can’t perform that action at this time.
0 commit comments