From 65b0ba5aa0447f7ee25103828115662b1eb80ff9 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sun, 24 Jun 2018 16:21:51 +0900 Subject: Remove unused pylint suppressions pylint is not used since bb5b1a0. The pyflakes cleanup mentioned in that commit has not been done, but given that this project is no longer being actively developed I don't think it's worth spending time doing it. Leaving the pylint suppressions causes confusion because it leads people to think that we are still using pylint. Change-Id: If7d9f280a0f408c780f15915ffdb80579ae21f69 --- subcmds/forall.py | 2 -- subcmds/gitc_delete.py | 2 -- subcmds/upload.py | 2 -- 3 files changed, 6 deletions(-) (limited to 'subcmds') diff --git a/subcmds/forall.py b/subcmds/forall.py index 52eb5e28..693949e2 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py @@ -205,14 +205,12 @@ without iterating through the remaining projects. break else: cn = None - # pylint: disable=W0631 if cn and cn in _CAN_COLOR: class ColorCmd(Coloring): def __init__(self, config, cmd): Coloring.__init__(self, config, cmd) if ColorCmd(self.manifest.manifestProject.config, cn).is_on: cmd.insert(cmd.index(cn) + 1, '--color') - # pylint: enable=W0631 mirror = self.manifest.IsMirror rc = 0 diff --git a/subcmds/gitc_delete.py b/subcmds/gitc_delete.py index 54f62f46..4d8cd8c2 100644 --- a/subcmds/gitc_delete.py +++ b/subcmds/gitc_delete.py @@ -21,9 +21,7 @@ import platform_utils from pyversion import is_python3 if not is_python3(): - # pylint:disable=W0622 input = raw_input - # pylint:enable=W0622 class GitcDelete(Command, GitcClientCommand): common = True diff --git a/subcmds/upload.py b/subcmds/upload.py index 77eaf81a..fdc7e28d 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -25,12 +25,10 @@ from git_command import GitCommand from project import RepoHook from pyversion import is_python3 -# pylint:disable=W0622 if not is_python3(): input = raw_input else: unicode = str -# pylint:enable=W0622 UNUSUAL_COMMIT_THRESHOLD = 5 -- cgit v1.2.3-54-g00ecf