| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 39794a818fa0ac223917fc4735e0f65f188947ed..b7a352e28c30aaf5ee294e32215f545e1f9f532e 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -19,11 +19,16 @@ def CommonChecks(input_api, output_api, tests_to_black_list):
|
| r'^site-packages-py[0-9]\.[0-9][\/\\].+',
|
| r'^svn_bin[\/\\].+',
|
| r'^testing_support[\/\\]_rietveld[\/\\].+']
|
| + disabled_warnings = [
|
| + 'R0401', # Cyclic import
|
| + 'W0613', # Unused argument
|
| + ]
|
| results.extend(input_api.canned_checks.RunPylint(
|
| input_api,
|
| output_api,
|
| white_list=[r'.*\.py$'],
|
| - black_list=black_list))
|
| + black_list=black_list,
|
| + disabled_warnings=disabled_warnings))
|
|
|
| # TODO(maruel): Make sure at least one file is modified first.
|
| # TODO(maruel): If only tests are modified, only run them.
|
|
|