File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Original file line number Diff line number Diff line change @@ -154,12 +154,12 @@ def get_files_for_linting(allow_limited=True):
154
154
if diff_base is not None and allow_limited :
155
155
result = subprocess .check_output (['git' , 'diff' , '--name-only' ,
156
156
diff_base ])
157
- print 'Using files changed relative to %s:' % (diff_base ,)
158
- print '-' * 60
159
- print result .rstrip ('\n ' ) # Don't print trailing newlines.
160
- print '-' * 60
157
+ print ( 'Using files changed relative to %s:' % (diff_base ,) )
158
+ print ( '-' * 60 )
159
+ print ( result .rstrip ('\n ' ) ) # Don't print trailing newlines.
160
+ print ( '-' * 60 )
161
161
else :
162
- print 'Diff base not specified, listing all files in repository.'
162
+ print ( 'Diff base not specified, listing all files in repository.' )
163
163
result = subprocess .check_output (['git' , 'ls-files' ])
164
164
165
165
return result .rstrip ('\n ' ).split ('\n ' ), diff_base
@@ -217,7 +217,7 @@ def lint_fileset(filenames, rcfile, description):
217
217
print (error_message , file = sys .stderr )
218
218
sys .exit (status_code )
219
219
else :
220
- print 'Skipping %s, no files to lint.' % (description ,)
220
+ print ( 'Skipping %s, no files to lint.' % (description ,) )
221
221
222
222
223
223
def main ():
Original file line number Diff line number Diff line change 30
30
OBJECT_INVENTORY_RELPATH = os .path .join ('_build' , 'html' , 'objects.inv' )
31
31
IGNORED_PREFIXES = ('test_' , '_' )
32
32
IGNORED_MODULES = frozenset ([
33
- 'gcloud.bigquery.query' ,
34
33
'gcloud.bigtable.client' ,
35
34
'gcloud.bigtable.cluster' ,
36
35
'gcloud.bigtable.column_family' ,
Original file line number Diff line number Diff line change 77
77
pylint
78
78
unittest2
79
79
psutil
80
+ Sphinx
80
81
passenv = {[testenv:system-tests]passenv}
81
82
82
83
[testenv:system-tests]
You can’t perform that action at this time.
0 commit comments