diff options
author | David Pursehouse <dpursehouse@collab.net> | 2018-06-24 16:21:51 +0900 |
---|---|---|
committer | Dylan Deng <dxx1104@gmail.com> | 2018-07-24 22:20:08 +0800 |
commit | 65b0ba5aa0447f7ee25103828115662b1eb80ff9 (patch) | |
tree | debc2790e91665968a31319f8fe039f4638911a1 /subcmds | |
parent | a6515fb952ab31a820288ce342e31d2917d0a06c (diff) | |
download | git-repo-65b0ba5aa0447f7ee25103828115662b1eb80ff9.tar.gz |
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
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/forall.py | 2 | ||||
-rw-r--r-- | subcmds/gitc_delete.py | 2 | ||||
-rw-r--r-- | subcmds/upload.py | 2 |
3 files changed, 0 insertions, 6 deletions
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. | |||
205 | break | 205 | break |
206 | else: | 206 | else: |
207 | cn = None | 207 | cn = None |
208 | # pylint: disable=W0631 | ||
209 | if cn and cn in _CAN_COLOR: | 208 | if cn and cn in _CAN_COLOR: |
210 | class ColorCmd(Coloring): | 209 | class ColorCmd(Coloring): |
211 | def __init__(self, config, cmd): | 210 | def __init__(self, config, cmd): |
212 | Coloring.__init__(self, config, cmd) | 211 | Coloring.__init__(self, config, cmd) |
213 | if ColorCmd(self.manifest.manifestProject.config, cn).is_on: | 212 | if ColorCmd(self.manifest.manifestProject.config, cn).is_on: |
214 | cmd.insert(cmd.index(cn) + 1, '--color') | 213 | cmd.insert(cmd.index(cn) + 1, '--color') |
215 | # pylint: enable=W0631 | ||
216 | 214 | ||
217 | mirror = self.manifest.IsMirror | 215 | mirror = self.manifest.IsMirror |
218 | rc = 0 | 216 | 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 | |||
21 | 21 | ||
22 | from pyversion import is_python3 | 22 | from pyversion import is_python3 |
23 | if not is_python3(): | 23 | if not is_python3(): |
24 | # pylint:disable=W0622 | ||
25 | input = raw_input | 24 | input = raw_input |
26 | # pylint:enable=W0622 | ||
27 | 25 | ||
28 | class GitcDelete(Command, GitcClientCommand): | 26 | class GitcDelete(Command, GitcClientCommand): |
29 | common = True | 27 | 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 | |||
25 | from project import RepoHook | 25 | from project import RepoHook |
26 | 26 | ||
27 | from pyversion import is_python3 | 27 | from pyversion import is_python3 |
28 | # pylint:disable=W0622 | ||
29 | if not is_python3(): | 28 | if not is_python3(): |
30 | input = raw_input | 29 | input = raw_input |
31 | else: | 30 | else: |
32 | unicode = str | 31 | unicode = str |
33 | # pylint:enable=W0622 | ||
34 | 32 | ||
35 | UNUSUAL_COMMIT_THRESHOLD = 5 | 33 | UNUSUAL_COMMIT_THRESHOLD = 5 |
36 | 34 | ||