OLD | NEW |
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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 r'^tools[\\\/]protoc_wrapper[\\\/].*\.py$', | 453 r'^tools[\\\/]protoc_wrapper[\\\/].*\.py$', |
454 r'^tools[\\\/]python[\\\/].*\.py$', | 454 r'^tools[\\\/]python[\\\/].*\.py$', |
455 r'^tools[\\\/]python_charts[\\\/]data[\\\/].*\.py$', | 455 r'^tools[\\\/]python_charts[\\\/]data[\\\/].*\.py$', |
456 r'^tools[\\\/]refactoring[\\\/].*\.py$', | 456 r'^tools[\\\/]refactoring[\\\/].*\.py$', |
457 r'^tools[\\\/]swarming_client[\\\/].*\.py$', | 457 r'^tools[\\\/]swarming_client[\\\/].*\.py$', |
458 r'^tools[\\\/]vim[\\\/].*\.py$', | 458 r'^tools[\\\/]vim[\\\/].*\.py$', |
459 # TODO(phoglund): should arguably be checked. | 459 # TODO(phoglund): should arguably be checked. |
460 r'^tools[\\\/]valgrind-webrtc[\\\/].*\.py$', | 460 r'^tools[\\\/]valgrind-webrtc[\\\/].*\.py$', |
461 r'^tools[\\\/]valgrind[\\\/].*\.py$', | 461 r'^tools[\\\/]valgrind[\\\/].*\.py$', |
462 r'^tools[\\\/]win[\\\/].*\.py$', | 462 r'^tools[\\\/]win[\\\/].*\.py$', |
| 463 r'^tools-webrtc[\\\/]mb[\\\/].*\.py$', |
463 r'^xcodebuild.*[\\\/].*\.py$',), | 464 r'^xcodebuild.*[\\\/].*\.py$',), |
464 disabled_warnings=['F0401', # Failed to import x | 465 disabled_warnings=['F0401', # Failed to import x |
465 'E0611', # No package y in x | 466 'E0611', # No package y in x |
466 'W0232', # Class has no __init__ method | 467 'W0232', # Class has no __init__ method |
467 ], | 468 ], |
468 pylintrc='pylintrc')) | 469 pylintrc='pylintrc')) |
469 | 470 |
470 # TODO(nisse): talk/ is no more, so make below checks simpler? | 471 # TODO(nisse): talk/ is no more, so make below checks simpler? |
471 # WebRTC can't use the presubmit_canned_checks.PanProjectChecks function since | 472 # WebRTC can't use the presubmit_canned_checks.PanProjectChecks function since |
472 # we need to have different license checks in talk/ and webrtc/ directories. | 473 # we need to have different license checks in talk/ and webrtc/ directories. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 input_api, output_api)) | 523 input_api, output_api)) |
523 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 524 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
524 input_api, output_api)) | 525 input_api, output_api)) |
525 results.extend(_CheckChangeHasBugField(input_api, output_api)) | 526 results.extend(_CheckChangeHasBugField(input_api, output_api)) |
526 results.extend(input_api.canned_checks.CheckChangeHasTestField( | 527 results.extend(input_api.canned_checks.CheckChangeHasTestField( |
527 input_api, output_api)) | 528 input_api, output_api)) |
528 results.extend(input_api.canned_checks.CheckTreeIsOpen( | 529 results.extend(input_api.canned_checks.CheckTreeIsOpen( |
529 input_api, output_api, | 530 input_api, output_api, |
530 json_url='http://webrtc-status.appspot.com/current?format=json')) | 531 json_url='http://webrtc-status.appspot.com/current?format=json')) |
531 return results | 532 return results |
OLD | NEW |