summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-15 04:38:39 +0000
committerGerrit Code Review <review@openstack.org>2017-06-15 04:38:39 +0000
commita222a25be129fdcf670c36e2a4b17a18719a09e4 (patch)
tree85fd68c2140b7622d14a2c95272eda82de320092
parent90c24e9d263eaef66369210f06c158b1425996aa (diff)
parentc95561e2d20867812466c9d5a275f1dc6e3263ac (diff)
Merge "Update pylint disable list to pass pylint 1.7.1 checks" into stable/newton
-rw-r--r--.pylintrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index df88dbb..d95532e 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -18,6 +18,7 @@ disable=
18 no-member, 18 no-member,
19 no-method-argument, 19 no-method-argument,
20 no-self-argument, 20 no-self-argument,
21 not-an-iterable,
21# "W" Warnings for stylistic problems or minor programming issues 22# "W" Warnings for stylistic problems or minor programming issues
22 abstract-method, 23 abstract-method,
23 arguments-differ, 24 arguments-differ,
@@ -30,6 +31,7 @@ disable=
30 expression-not-assigned, 31 expression-not-assigned,
31 fixme, 32 fixme,
32 global-statement, 33 global-statement,
34 literal-comparison,
33 no-init, 35 no-init,
34 non-parent-init-called, 36 non-parent-init-called,
35 not-callable, 37 not-callable,
@@ -44,19 +46,32 @@ disable=
44 unused-argument, 46 unused-argument,
45 unused-import, 47 unused-import,
46 unused-variable, 48 unused-variable,
49 useless-super-delegation,
47# TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims 50# TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
48 nonstandard-exception, 51 nonstandard-exception,
49# "C" Coding convention violations 52# "C" Coding convention violations
50 bad-continuation, 53 bad-continuation,
54 consider-iterating-dictionary,
55 consider-using-enumerate,
51 invalid-name, 56 invalid-name,
57 len-as-condition,
58 misplaced-comparison-constant,
52 missing-docstring, 59 missing-docstring,
60 singleton-comparison,
53 superfluous-parens, 61 superfluous-parens,
62 ungrouped-imports,
63 wrong-import-order,
54# "R" Refactor recommendations 64# "R" Refactor recommendations
55 abstract-class-little-used, 65 abstract-class-little-used,
56 abstract-class-not-used, 66 abstract-class-not-used,
67 consider-merging-isinstance,
68 consider-using-ternary,
57 duplicate-code, 69 duplicate-code,
58 interface-not-implemented, 70 interface-not-implemented,
71 no-else-return,
59 no-self-use, 72 no-self-use,
73 redefined-argument-from-local,
74 simplifiable-if-statement,
60 too-few-public-methods, 75 too-few-public-methods,
61 too-many-ancestors, 76 too-many-ancestors,
62 too-many-arguments, 77 too-many-arguments,
@@ -64,6 +79,7 @@ disable=
64 too-many-instance-attributes, 79 too-many-instance-attributes,
65 too-many-lines, 80 too-many-lines,
66 too-many-locals, 81 too-many-locals,
82 too-many-nested-blocks,
67 too-many-public-methods, 83 too-many-public-methods,
68 too-many-return-statements, 84 too-many-return-statements,
69 too-many-statements 85 too-many-statements