Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: PRESUBMIT.py

Issue 2737963003: Update pylintrc to catch more style violations. (Closed)
Patch Set: Added OWNERS Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « OWNERS ('k') | pylintrc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index efa80fab4ff47f1bc8beb28ed88db9d94c84f75c..24eff148e8edd10478aca0c11163d7b303c135fe 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -526,6 +526,7 @@ def _CommonChecks(input_api, output_api):
black_list=(r'^base[\\\/].*\.py$',
r'^build[\\\/].*\.py$',
r'^buildtools[\\\/].*\.py$',
+ r'^infra[\\\/].*\.py$',
r'^ios[\\\/].*\.py$',
r'^out.*[\\\/].*\.py$',
r'^testing[\\\/].*\.py$',
@@ -535,10 +536,6 @@ def _CommonChecks(input_api, output_api):
r'^tools-webrtc[\\\/]mb[\\\/].*\.py$',
r'^tools-webrtc[\\\/]valgrind[\\\/].*\.py$',
r'^xcodebuild.*[\\\/].*\.py$',),
- disabled_warnings=['F0401', # Failed to import x
- 'E0611', # No package y in x
- 'W0232', # Class has no __init__ method
- ],
pylintrc='pylintrc'))
# TODO(nisse): talk/ is no more, so make below checks simpler?
« no previous file with comments | « OWNERS ('k') | pylintrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698