Exclude Sky from the pan project checks
Sky doesn't use the normal copyright header or column lengths yet.
R=ojan@chromium.org, esprehn@chromium.org
Review URL: https://codereview.chromium.org/675813003
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index eafc8fe..7ecf4b7 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -31,6 +31,10 @@
r"^content[\\\/]shell[\\\/]tools[\\\/]plugin[\\\/].*",
)
+_SKY_PATHS = (
+ r"^sky[\\\/].*",
+)
+
# Fragment of a regular expression that matches C++ and Objective-C++
# implementation files.
_IMPLEMENTATION_EXTENSIONS = r'\.(cc|cpp|cxx|mm)$'
@@ -1279,7 +1283,7 @@
results = []
results.extend(input_api.canned_checks.PanProjectChecks(
input_api, output_api,
- excluded_paths=_EXCLUDED_PATHS + _TESTRUNNER_PATHS))
+ excluded_paths=_EXCLUDED_PATHS + _TESTRUNNER_PATHS + _SKY_PATHS))
results.extend(_CheckAuthorizedAuthor(input_api, output_api))
results.extend(
_CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api))