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