diff options
author | Mike Frysinger <vapier@chromium.org> | 2014-11-08 04:00:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2014-11-21 04:42:40 +0000 |
commit | 1d4752b78eaad48cf7b7e33534a140576e669835 (patch) | |
tree | 0a78b251bc6e5f885c15ad7bee39743d32e89bc5 /cbuildbot/stages | |
parent | dc93692d31d084df441a0c9fae1013089eef3cef (diff) | |
download | chromite-1d4752b78eaad48cf7b7e33534a140576e669835.tar.gz |
lint: update support for pylint-1.x
This doesn't fix the new warnings, but makes `cros lint` work.
BUG=chromium:431514
TEST=`cros lint <files>` no longer crashes
TEST=`cros/commands/lint_unittest.py` passes
Change-Id: I908abd03027cfc348ed3e74454d9cc0e556ca29d
Reviewed-on: https://chromium-review.googlesource.com/228721
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'cbuildbot/stages')
-rwxr-xr-x | cbuildbot/stages/artifact_stages_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/branch_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/branch_stages_unittest.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/build_stages_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/chrome_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/chrome_stages_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/completion_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/release_stages_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/report_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/report_stages_unittest.py | 3 | ||||
-rw-r--r-- | cbuildbot/stages/sdk_stages.py | 3 | ||||
-rwxr-xr-x | cbuildbot/stages/stage_results_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/sync_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/sync_stages_unittest.py | 2 | ||||
-rw-r--r-- | cbuildbot/stages/test_stages.py | 2 | ||||
-rwxr-xr-x | cbuildbot/stages/test_stages_unittest.py | 2 |
16 files changed, 34 insertions, 0 deletions
diff --git a/cbuildbot/stages/artifact_stages_unittest.py b/cbuildbot/stages/artifact_stages_unittest.py index 8a36648dc..61fe26cf8 100755 --- a/cbuildbot/stages/artifact_stages_unittest.py +++ b/cbuildbot/stages/artifact_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for the artifact stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import argparse diff --git a/cbuildbot/stages/branch_stages.py b/cbuildbot/stages/branch_stages.py index 333dcac7b..83a493847 100644 --- a/cbuildbot/stages/branch_stages.py +++ b/cbuildbot/stages/branch_stages.py @@ -4,6 +4,8 @@ """Module containing the branch stages.""" +# pylint: disable=bad-whitespace + from __future__ import print_function import logging diff --git a/cbuildbot/stages/branch_stages_unittest.py b/cbuildbot/stages/branch_stages_unittest.py index b7a34d9d8..01eb70262 100755 --- a/cbuildbot/stages/branch_stages_unittest.py +++ b/cbuildbot/stages/branch_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for the branch stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import os diff --git a/cbuildbot/stages/build_stages_unittest.py b/cbuildbot/stages/build_stages_unittest.py index 336b2c12b..e5e8ca657 100755 --- a/cbuildbot/stages/build_stages_unittest.py +++ b/cbuildbot/stages/build_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for build stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import contextlib diff --git a/cbuildbot/stages/chrome_stages.py b/cbuildbot/stages/chrome_stages.py index f712276c2..b41ce811c 100644 --- a/cbuildbot/stages/chrome_stages.py +++ b/cbuildbot/stages/chrome_stages.py @@ -4,6 +4,8 @@ """Module containing the Chrome stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import multiprocessing diff --git a/cbuildbot/stages/chrome_stages_unittest.py b/cbuildbot/stages/chrome_stages_unittest.py index 70372d9b0..ed0d10175 100755 --- a/cbuildbot/stages/chrome_stages_unittest.py +++ b/cbuildbot/stages/chrome_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for chrome stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import os diff --git a/cbuildbot/stages/completion_stages.py b/cbuildbot/stages/completion_stages.py index adc823d27..aaa392d8e 100644 --- a/cbuildbot/stages/completion_stages.py +++ b/cbuildbot/stages/completion_stages.py @@ -4,6 +4,8 @@ """Module containing the completion stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import logging diff --git a/cbuildbot/stages/release_stages_unittest.py b/cbuildbot/stages/release_stages_unittest.py index 62ccc6c9b..769a83afc 100755 --- a/cbuildbot/stages/release_stages_unittest.py +++ b/cbuildbot/stages/release_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for build stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import os diff --git a/cbuildbot/stages/report_stages.py b/cbuildbot/stages/report_stages.py index d53b4d1bd..6416c2830 100644 --- a/cbuildbot/stages/report_stages.py +++ b/cbuildbot/stages/report_stages.py @@ -4,6 +4,8 @@ """Module containing the report stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import logging diff --git a/cbuildbot/stages/report_stages_unittest.py b/cbuildbot/stages/report_stages_unittest.py index c69fc9b8f..943e570e3 100755 --- a/cbuildbot/stages/report_stages_unittest.py +++ b/cbuildbot/stages/report_stages_unittest.py @@ -5,6 +5,9 @@ """Unittests for report stages.""" +# pylint: disable=bad-continuation +# pylint: disable=bad-whitespace + from __future__ import print_function import os diff --git a/cbuildbot/stages/sdk_stages.py b/cbuildbot/stages/sdk_stages.py index 1b45debc7..5d868c11b 100644 --- a/cbuildbot/stages/sdk_stages.py +++ b/cbuildbot/stages/sdk_stages.py @@ -4,6 +4,9 @@ """Module containing SDK stages.""" +# pylint: disable=bad-continuation +# pylint: disable=bad-whitespace + from __future__ import print_function import glob diff --git a/cbuildbot/stages/stage_results_unittest.py b/cbuildbot/stages/stage_results_unittest.py index 0545920bd..a84bbba7a 100755 --- a/cbuildbot/stages/stage_results_unittest.py +++ b/cbuildbot/stages/stage_results_unittest.py @@ -5,6 +5,8 @@ """Unittests for the stage results.""" +# pylint: disable=bad-continuation + from __future__ import print_function import os diff --git a/cbuildbot/stages/sync_stages.py b/cbuildbot/stages/sync_stages.py index 4840510ef..a172647a5 100644 --- a/cbuildbot/stages/sync_stages.py +++ b/cbuildbot/stages/sync_stages.py @@ -4,6 +4,8 @@ """Module containing the sync stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import ConfigParser diff --git a/cbuildbot/stages/sync_stages_unittest.py b/cbuildbot/stages/sync_stages_unittest.py index 6dbf90e7a..7f97132fd 100755 --- a/cbuildbot/stages/sync_stages_unittest.py +++ b/cbuildbot/stages/sync_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for sync stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import ConfigParser diff --git a/cbuildbot/stages/test_stages.py b/cbuildbot/stages/test_stages.py index 67e9b9f85..b2c0b3783 100644 --- a/cbuildbot/stages/test_stages.py +++ b/cbuildbot/stages/test_stages.py @@ -4,6 +4,8 @@ """Module containing the test stages.""" +# pylint: disable=bad-continuation + from __future__ import print_function import collections diff --git a/cbuildbot/stages/test_stages_unittest.py b/cbuildbot/stages/test_stages_unittest.py index ac11bd56f..9388e7e95 100755 --- a/cbuildbot/stages/test_stages_unittest.py +++ b/cbuildbot/stages/test_stages_unittest.py @@ -5,6 +5,8 @@ """Unittests for test stages.""" +# pylint: disable=bad-whitespace + from __future__ import print_function import os |