summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2018-06-24 16:21:51 +0900
committerDylan Deng <dxx1104@gmail.com>2018-07-24 22:20:08 +0800
commit65b0ba5aa0447f7ee25103828115662b1eb80ff9 (patch)
treedebc2790e91665968a31319f8fe039f4638911a1 /command.py
parenta6515fb952ab31a820288ce342e31d2917d0a06c (diff)
downloadgit-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 'command.py')
-rw-r--r--command.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/command.py b/command.py
index 971f968b..eb3527f0 100644
--- a/command.py
+++ b/command.py
@@ -218,11 +218,6 @@ class Command(object):
218 return result 218 return result
219 219
220 220
221# pylint: disable=W0223
222# Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not
223# override method `Execute` which is abstract in `Command`. Since that method
224# is always implemented in classes derived from `InteractiveCommand` and
225# `PagedCommand`, this warning can be suppressed.
226class InteractiveCommand(Command): 221class InteractiveCommand(Command):
227 """Command which requires user interaction on the tty and 222 """Command which requires user interaction on the tty and
228 must not run within a pager, even if the user asks to. 223 must not run within a pager, even if the user asks to.
@@ -238,8 +233,6 @@ class PagedCommand(Command):
238 def WantPager(self, _opt): 233 def WantPager(self, _opt):
239 return True 234 return True
240 235
241# pylint: enable=W0223
242
243 236
244class MirrorSafeCommand(object): 237class MirrorSafeCommand(object):
245 """Command permits itself to run within a mirror, 238 """Command permits itself to run within a mirror,