summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pylintrc3
-rw-r--r--test/test_data.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index 175e6d3a..204237fa 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -58,6 +58,7 @@ load-plugins=
# W0603: 28:call_singleton_method: Using the global statement
# W0142: 31:call_singleton_method: Used * or ** magic
# C0323:311:coverage.report: Operator not followed by a space
+# C0324: 15: Comma not followed by a space
# Messages that may be silly:
# R0201: 42:Tracer.stop: Method could be a function
# W0403: 4: Relative import 'coveragetest'
@@ -65,7 +66,7 @@ load-plugins=
# Messages that are noisy for now, eventually maybe we'll turn them on:
# C0111:169:coverage.analyze_morf: Missing docstring
# C0103:256:coverage.morf_filename: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$)
-disable-msg=I0011,W0603,W0142,C0323, R0201,W0403,E1103, C0111,C0103
+disable-msg=I0011,W0603,W0142,C0323,C0324, R0201,W0403,E1103, C0111,C0103
[REPORTS]
diff --git a/test/test_data.py b/test/test_data.py
index 04dd9f28..568fd380 100644
--- a/test/test_data.py
+++ b/test/test_data.py
@@ -5,7 +5,9 @@ from coveragetest import CoverageTest
try:
set()
-except:
+except NameError:
+ # pylint: disable-msg=W0622
+ # (Redefining built-in 'set')
from sets import Set as set
DATA_1 = [ ('a.py',1), ('a.py',2), ('b.py',3) ]