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

Unified Diff: presubmit_support.py

Issue 548172: Change the default source lists; (Closed)
Patch Set: Created 10 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index 83ba5eaf659d8c0a687e2eb8aab664507426fc77..a15b287da703c6183d0639af7e214e01bae8a643 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -153,11 +153,11 @@ class InputApi(object):
r".*\.c", r".*\.cc", r".*\.cpp", r".*\.h", r".*\.m", r".*\.mm",
r".*\.inl", r".*\.asm", r".*\.hxx", r".*\.hpp",
# Scripts
- r".*\.js", r".*\.py", r".*\.json", r".*\.sh", r".*\.rb",
- # No extension at all
+ r".*\.js", r".*\.py", r".*\.sh", r".*\.rb", r".*\.pl", r".*\.pm",
+ # No extension at all, note that ALL CAPS files are black listed
r"(^|.*[\\\/])[^.]+$",
# Other
- r".*\.java", r".*\.mk", r".*\.am", r".*\.txt",
+ r".*\.java", r".*\.mk", r".*\.am",
)
# Path regexp that should be excluded from being considered containing source
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698