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

Side by Side Diff: PRESUBMIT.py

Issue 2564613002: PRESUBMIT: Add authorized-authors check + AUTHORS e-mails. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import json 9 import json
10 import os 10 import os
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 results.extend(input_api.canned_checks.CheckLongLines( 521 results.extend(input_api.canned_checks.CheckLongLines(
522 input_api, output_api, maxlen=80, source_file_filter=eighty_char_sources)) 522 input_api, output_api, maxlen=80, source_file_filter=eighty_char_sources))
523 results.extend(input_api.canned_checks.CheckLongLines( 523 results.extend(input_api.canned_checks.CheckLongLines(
524 input_api, output_api, maxlen=100, 524 input_api, output_api, maxlen=100,
525 source_file_filter=hundred_char_sources)) 525 source_file_filter=hundred_char_sources))
526 526
527 results.extend(input_api.canned_checks.CheckChangeHasNoTabs( 527 results.extend(input_api.canned_checks.CheckChangeHasNoTabs(
528 input_api, output_api)) 528 input_api, output_api))
529 results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace( 529 results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace(
530 input_api, output_api)) 530 input_api, output_api))
531 results.extend(input_api.canned_checks.CheckAuthorizedAuthor(
532 input_api, output_api))
531 results.extend(input_api.canned_checks.CheckChangeTodoHasOwner( 533 results.extend(input_api.canned_checks.CheckChangeTodoHasOwner(
532 input_api, output_api)) 534 input_api, output_api))
533 results.extend(_CheckNativeApiHeaderChanges(input_api, output_api)) 535 results.extend(_CheckNativeApiHeaderChanges(input_api, output_api))
534 results.extend(_CheckNoIOStreamInHeaders(input_api, output_api)) 536 results.extend(_CheckNoIOStreamInHeaders(input_api, output_api))
535 results.extend(_CheckNoFRIEND_TEST(input_api, output_api)) 537 results.extend(_CheckNoFRIEND_TEST(input_api, output_api))
536 results.extend(_CheckGnChanges(input_api, output_api)) 538 results.extend(_CheckGnChanges(input_api, output_api))
537 results.extend(_CheckUnwantedDependencies(input_api, output_api)) 539 results.extend(_CheckUnwantedDependencies(input_api, output_api))
538 results.extend(_CheckJSONParseErrors(input_api, output_api)) 540 results.extend(_CheckJSONParseErrors(input_api, output_api))
539 results.extend(_RunPythonTests(input_api, output_api)) 541 results.extend(_RunPythonTests(input_api, output_api))
540 return results 542 return results
(...skipping 16 matching lines...) Expand all
557 input_api, output_api)) 559 input_api, output_api))
558 results.extend(input_api.canned_checks.CheckChangeHasDescription( 560 results.extend(input_api.canned_checks.CheckChangeHasDescription(
559 input_api, output_api)) 561 input_api, output_api))
560 results.extend(_CheckChangeHasBugField(input_api, output_api)) 562 results.extend(_CheckChangeHasBugField(input_api, output_api))
561 results.extend(input_api.canned_checks.CheckChangeHasTestField( 563 results.extend(input_api.canned_checks.CheckChangeHasTestField(
562 input_api, output_api)) 564 input_api, output_api))
563 results.extend(input_api.canned_checks.CheckTreeIsOpen( 565 results.extend(input_api.canned_checks.CheckTreeIsOpen(
564 input_api, output_api, 566 input_api, output_api,
565 json_url='http://webrtc-status.appspot.com/current?format=json')) 567 json_url='http://webrtc-status.appspot.com/current?format=json'))
566 return results 568 return results
OLDNEW
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698