From 4f7bdea9d24c4eb52f83ada2b67b88ad67cb57a7 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 22 Oct 2012 12:50:15 +0900 Subject: Add pylint configuration and instructions pylint configuration file (.pylintrc) is added, and submission instructions are updated to include pylint usage steps. Deprecated pylint suppression (`disable-msg`) is updated in a few modules to make it work properly with the latest version (0.26). Change-Id: I4ec2ef318e23557a374ecdbf40fe12645766830c --- command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'command.py') diff --git a/command.py b/command.py index 51c0cb48..d543e3a8 100644 --- a/command.py +++ b/command.py @@ -147,7 +147,7 @@ class Command(object): result.sort(key=_getpath) return result -# pylint: disable-msg=W0223 +# pylint: disable=W0223 # Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not # override method `Execute` which is abstract in `Command`. Since that method # is always implemented in classes derived from `InteractiveCommand` and @@ -166,7 +166,7 @@ class PagedCommand(Command): def WantPager(self, opt): return True -# pylint: enable-msg=W0223 +# pylint: enable=W0223 class MirrorSafeCommand(object): """Command permits itself to run within a mirror, -- cgit v1.2.3-54-g00ecf