Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(812)

Unified Diff: services/components/PRESUBMIT.py

Issue 106310043: Protocol, UI and smoke test for Primary <-> Replica linking process. (Closed) Base URL: https://code.google.com/p/swarming/@master
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/auth_service/tools/compile_proto.py ('k') | services/components/components/auth/model.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/components/PRESUBMIT.py
diff --git a/services/components/PRESUBMIT.py b/services/components/PRESUBMIT.py
index 15d3631b71b46c79aa3d8cbda74b0c960a16bfa0..dbcd4067f101bd95fa54bc477a302fbf71bc64a2 100644
--- a/services/components/PRESUBMIT.py
+++ b/services/components/PRESUBMIT.py
@@ -46,12 +46,17 @@ def CommonChecks(input_api, output_api):
join('third_party'),
join('tests'),
] + sys.path
+ black_list = list(input_api.DEFAULT_BLACK_LIST) + [
+ r'.*_pb2\.py$',
+ ]
disabled_warnings = [
'E1101', # Instance X has no member Y
'W0232', # Class has no __init__ method
]
output.extend(input_api.canned_checks.RunPylint(
- input_api, output_api, disabled_warnings=disabled_warnings))
+ input_api, output_api,
+ black_list=black_list,
+ disabled_warnings=disabled_warnings))
finally:
sys.path = old_sys_path
« no previous file with comments | « services/auth_service/tools/compile_proto.py ('k') | services/components/components/auth/model.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b