| OLD | NEW |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Top-level presubmit script for buildbot. | 5 """Top-level presubmit script for buildbot. |
| 6 | 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for |
| 8 details on the presubmit API built into gcl. | 8 details on the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 DISABLED_TESTS = [ | 11 DISABLED_TESTS = [ |
| 12 '.*appengine/chromium_status/tests/main_test.py', | 12 '.*appengine/chromium_status/tests/main_test.py', |
| 13 '.*appengine/chromium_build/app_test.py', | 13 '.*appengine/chromium_build/app_test.py', |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 # LGTM FROM iannucci@ REQUIRED TO EDIT THIS LIST: | 16 # LGTM FROM iannucci@ REQUIRED TO EDIT THIS LIST: |
| 17 DISABLED_PYLINT_WARNINGS = [ | 17 DISABLED_PYLINT_WARNINGS = [ |
| 18 'W0231', # __init__ method from base class is not called | 18 'W0231', # __init__ method from base class is not called |
| 19 'W0232', # Class has no __init__ method | 19 'W0232', # Class has no __init__ method |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 DISABLED_PROJECTS = [ | 22 DISABLED_PROJECTS = [ |
| 23 'appengine/chromium_build', | 23 'appengine/chromium_build', |
| 24 'appengine/chromium_build_stats', |
| 24 'appengine/swarming', | 25 'appengine/swarming', |
| 25 'appengine/test_results', | 26 'appengine/test_results', |
| 26 'infra/services/lkgr_finder', | 27 'infra/services/lkgr_finder', |
| 27 'infra/services/gnumbd', | 28 'infra/services/gnumbd', |
| 28 # Swarming components hacks sys.path to thus skip tools/ | 29 # Swarming components hacks sys.path to thus skip tools/ |
| 29 'appengine/chromium_git_access/tools', | 30 'appengine/chromium_git_access/tools', |
| 30 | 31 |
| 31 # Don't bother pylinting (these could also move to .gitignore): | 32 # Don't bother pylinting (these could also move to .gitignore): |
| 32 '.*/__pycache__', | 33 '.*/__pycache__', |
| 33 '\.git', | 34 '\.git', |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 return output | 247 return output |
| 247 | 248 |
| 248 | 249 |
| 249 # Unused argument - pylint: disable=W0613 | 250 # Unused argument - pylint: disable=W0613 |
| 250 def GetPreferredTryMasters(project, change): # pragma: no cover | 251 def GetPreferredTryMasters(project, change): # pragma: no cover |
| 251 return { | 252 return { |
| 252 'tryserver.chromium.linux': { | 253 'tryserver.chromium.linux': { |
| 253 'infra_tester': set(['defaulttests']), | 254 'infra_tester': set(['defaulttests']), |
| 254 } | 255 } |
| 255 } | 256 } |
| 256 | |
| OLD | NEW |