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

Unified Diff: PRESUBMIT.py

Issue 1725573003: Change presubmit lint check to a blacklist. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 10 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 | « no previous file | testing/fx_string_testhelpers.h » ('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 6f19e24a465267508d51978e286b662c047381cd..310467ff4e5d39c50f8239489107d858ed4b7344 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -9,8 +9,42 @@ for more details about the presubmit API built into depot_tools.
"""
LINT_FILTERS = [
- '-',
- '+build/header_guard',
+ '-build/c++11',
+ '-build/include',
+ '-build/include_order',
+ '-build/include_what_you_use',
+ '-build/namespaces',
+ '-build/storage_class',
+ '-readability/braces',
+ '-readability/casting',
+ '-readability/fn_size',
+ '-readability/function',
+ '-readability/inheritance',
+ '-readability/multiline_comment',
+ '-readability/multiline_string',
+ '-readability/namespace',
+ '-readability/todo',
+ '-readability/utf8',
+ '-runtime/arrays',
+ '-runtime/casting',
+ '-runtime/explicit',
+ '-runtime/int',
+ '-runtime/printf',
+ '-runtime/references',
+ '-runtime/threadsafe_fn',
+ '-whitespace/blank_line',
+ '-whitespace/braces',
+ '-whitespace/comments',
+ '-whitespace/end_of_line',
+ '-whitespace/ending_newline',
+ '-whitespace/indent',
+ '-whitespace/line_length',
+ '-whitespace/newline',
+ '-whitespace/operators',
+ '-whitespace/parens',
+ '-whitespace/semicolon',
+ '-whitespace/tab',
+ '-whitespace/todo',
]
def CheckChangeOnUpload(input_api, output_api):
« no previous file with comments | « no previous file | testing/fx_string_testhelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698