Module: check_mk
Branch: master
Commit: b642a3f0099140d35b5b46607f759f336fb54033
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b642a3f0099140…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Jul 12 08:46:27 2018 +0200
Grouped disabled warnings a tiny bit.
Change-Id: Iedf916c475aca0e1fff0a41ea598d1de223c1c2d
---
tests/pylint/pylintrc | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index 2eeb23d..34f2a70 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -24,7 +24,6 @@ disable=
c-extension-no-member,
cell-var-from-loop,
consider-iterating-dictionary,
- consider-merging-isinstance,
consider-using-enumerate,
consider-using-ternary,
cyclic-import,
@@ -39,13 +38,11 @@ disable=
len-as-condition,
line-too-long,
logging-not-lazy,
- misplaced-comparison-constant,
missing-docstring,
multiple-imports,
multiple-statements,
no-else-return,
no-self-use,
- old-style-class,
protected-access,
redefine-in-handler,
redefined-argument-from-local,
@@ -53,7 +50,6 @@ disable=
redefined-outer-name,
reimported,
relative-import,
- simplifiable-if-statement,
singleton-comparison,
superfluous-parens,
too-few-public-methods,
@@ -70,8 +66,6 @@ disable=
too-many-statements,
ungrouped-imports,
unidiomatic-typecheck,
- unnecessary-lambda,
- unnecessary-pass,
unnecessary-semicolon,
unneeded-not,
unsubscriptable-object,
@@ -80,10 +74,20 @@ disable=
unused-import,
unused-variable,
unused-wildcard-import,
- useless-super-delegation,
wildcard-import,
wrong-import-order,
wrong-import-position,
+ #---------------------------------------------------------------------------
+ # The 7 warnings below have already been fixed for non-web/ code. When the
+ # upcoming reorganization of web/ has been landed, these should be fixed first.
+ consider-merging-isinstance,
+ misplaced-comparison-constant,
+ old-style-class,
+ simplifiable-if-statement,
+ unnecessary-lambda,
+ unnecessary-pass,
+ useless-super-delegation,
+ #---------------------------------------------------------------------------
# Enabling the two spelling-related checks increases pylints runtime from
# 11 min to 40 min, so we better keep those disabled for normal runs.
# wrong-spelling-in-comment,