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 --- subcmds/forall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subcmds/forall.py') diff --git a/subcmds/forall.py b/subcmds/forall.py index 2ece95ed..b633b7d4 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py @@ -143,14 +143,14 @@ terminal and are not redirected. break else: cn = None - # pylint: disable-msg=W0631 + # 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-msg=W0631 + # pylint: enable=W0631 mirror = self.manifest.IsMirror out = ForallColoring(self.manifest.manifestProject.config) -- cgit v1.2.3-54-g00ecf