diff options
author | dan sinclair <dj2@everburning.com> | 2016-02-22 22:32:03 -0500 |
---|---|---|
committer | dan sinclair <dj2@everburning.com> | 2016-02-22 22:32:03 -0500 |
commit | d2019df0a77c5d01a336f16be054d2f373e38c54 (patch) | |
tree | fdd4bb25bfa40208ddeb5faf4f0c3b3c610939a6 | |
parent | 2c115d829d3560fd5082500c552dfe38850881ec (diff) | |
download | pdfium-d2019df0a77c5d01a336f16be054d2f373e38c54.tar.xz |
Change presubmit lint check to a blacklist.
This CL changes the possible lint flags to a blacklist which can be burned
down.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1725573003 .
-rw-r--r-- | PRESUBMIT.py | 38 | ||||
-rw-r--r-- | testing/fx_string_testhelpers.h | 2 |
2 files changed, 37 insertions, 3 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 6f19e24a46..310467ff4e 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): diff --git a/testing/fx_string_testhelpers.h b/testing/fx_string_testhelpers.h index 4dd37c6398..d5a45f8635 100644 --- a/testing/fx_string_testhelpers.h +++ b/testing/fx_string_testhelpers.h @@ -15,4 +15,4 @@ std::ostream& operator<<(std::ostream& out, const CFX_ByteString& str); std::ostream& operator<<(std::ostream& out, const CFX_WideStringC& str); std::ostream& operator<<(std::ostream& out, const CFX_WideString& str); -#endif // TESTING_FX_STR_TESTHELPERS_H_ +#endif // TESTING_FX_STRING_TESTHELPERS_H_ |