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

Unified Diff: PRESUBMIT.py

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | core/include/fpdfapi/fpdf_objects.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 7c8f8f439ba79cf589f2d9c5f7419713428b34de..71d6b6f7b3cae6fa4f431a13dbdf18056c335ccf 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -9,24 +9,28 @@ for more details about the presubmit API built into depot_tools.
"""
LINT_FILTERS = [
+ # Rvalue ref checks are unreliable.
'-build/c++11',
+ # Need to fix header names not matching cpp names.
'-build/include',
+ # Need to fix header names not matching cpp names.
'-build/include_order',
- '-build/include_what_you_use',
- '-build/namespaces',
- '-build/storage_class',
+ # Too many to fix at the moment.
'-readability/casting',
+ # Need to refactor large methods to fix.
'-readability/fn_size',
- '-readability/todo',
- '-readability/utf8',
- '-runtime/arrays',
+ # Need to fix errors when making methods explicit.
'-runtime/explicit',
+ # Lots of usage to fix first.
'-runtime/int',
+ # Need to fix two snprintf TODOs
'-runtime/printf',
+ # Lots of non-const references need to be fixed
'-runtime/references',
+ # We are not thread safe, so this will never pass.
'-runtime/threadsafe_fn',
+ # Figure out how to deal with #defines that git cl format creates.
'-whitespace/indent',
- '-whitespace/line_length',
]
def CheckChangeOnUpload(input_api, output_api):
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698