diff options
author | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 16:17:09 +0000 |
---|---|---|
committer | dpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 16:17:09 +0000 |
commit | b5c4a9f98c001b01ab41c01c80871247255a2655 (patch) | |
tree | 05cda6a62d1fc037dea0c76ee44f391e7ad85185 /PRESUBMIT.py | |
parent | f2743e4faad322e994b5cd482821a47bc425eb66 (diff) | |
download | chromium_src-b5c4a9f98c001b01ab41c01c80871247255a2655.zip chromium_src-b5c4a9f98c001b01ab41c01c80871247255a2655.tar.gz chromium_src-b5c4a9f98c001b01ab41c01c80871247255a2655.tar.bz2 |
Turn on OWNERS checking in chromium/src
Review URL: http://codereview.chromium.org/6597065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index ce630c9..8b7999d 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -147,6 +147,12 @@ def _CommonChecks(input_api, output_api): sources = lambda x: input_api.FilterSourceFile(x, black_list=black_list) text_files = lambda x: input_api.FilterSourceFile(x, black_list=black_list, white_list=white_list) + + # TODO(dpranke): enable upload as well + if input_api.is_committing: + results.extend(input_api.canned_checks.CheckOwners( + input_api, output_api, source_file_filter=sources)) + results.extend(input_api.canned_checks.CheckLongLines( input_api, output_api, source_file_filter=sources)) results.extend(input_api.canned_checks.CheckChangeHasNoTabs( |