Address gate issues
Change-Id: I91e324b3ab64fddc8ba2c63d971ae9c0d777ab81
This commit is contained in:
parent
24fc248f42
commit
4f3d934313
21
.pylintrc
21
.pylintrc
@ -22,8 +22,10 @@ disable=
|
|||||||
no-member,
|
no-member,
|
||||||
no-method-argument,
|
no-method-argument,
|
||||||
no-self-argument,
|
no-self-argument,
|
||||||
|
not-an-iterable,
|
||||||
# "W" Warnings for stylistic problems or minor programming issues
|
# "W" Warnings for stylistic problems or minor programming issues
|
||||||
abstract-method,
|
abstract-method,
|
||||||
|
abstract-class-instantiated,
|
||||||
arguments-differ,
|
arguments-differ,
|
||||||
attribute-defined-outside-init,
|
attribute-defined-outside-init,
|
||||||
bad-builtin,
|
bad-builtin,
|
||||||
@ -34,6 +36,7 @@ disable=
|
|||||||
expression-not-assigned,
|
expression-not-assigned,
|
||||||
fixme,
|
fixme,
|
||||||
global-statement,
|
global-statement,
|
||||||
|
literal-comparison,
|
||||||
no-init,
|
no-init,
|
||||||
non-parent-init-called,
|
non-parent-init-called,
|
||||||
not-callable,
|
not-callable,
|
||||||
@ -48,26 +51,44 @@ disable=
|
|||||||
unused-argument,
|
unused-argument,
|
||||||
unused-import,
|
unused-import,
|
||||||
unused-variable,
|
unused-variable,
|
||||||
|
unsubscriptable-object,
|
||||||
|
useless-super-delegation,
|
||||||
# TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
|
# TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
|
||||||
nonstandard-exception,
|
nonstandard-exception,
|
||||||
# "C" Coding convention violations
|
# "C" Coding convention violations
|
||||||
bad-continuation,
|
bad-continuation,
|
||||||
|
consider-iterating-dictionary,
|
||||||
|
consider-using-enumerate,
|
||||||
invalid-name,
|
invalid-name,
|
||||||
|
len-as-condition,
|
||||||
|
misplaced-comparison-constant,
|
||||||
missing-docstring,
|
missing-docstring,
|
||||||
|
singleton-comparison,
|
||||||
superfluous-parens,
|
superfluous-parens,
|
||||||
|
ungrouped-imports,
|
||||||
|
wrong-import-order,
|
||||||
|
wrong-import-position,
|
||||||
# "R" Refactor recommendations
|
# "R" Refactor recommendations
|
||||||
abstract-class-little-used,
|
abstract-class-little-used,
|
||||||
abstract-class-not-used,
|
abstract-class-not-used,
|
||||||
|
consider-merging-isinstance,
|
||||||
|
consider-using-ternary,
|
||||||
duplicate-code,
|
duplicate-code,
|
||||||
interface-not-implemented,
|
interface-not-implemented,
|
||||||
|
no-else-return,
|
||||||
no-self-use,
|
no-self-use,
|
||||||
|
redefined-argument-from-local,
|
||||||
|
simplifiable-if-statement,
|
||||||
too-few-public-methods,
|
too-few-public-methods,
|
||||||
too-many-ancestors,
|
too-many-ancestors,
|
||||||
too-many-arguments,
|
too-many-arguments,
|
||||||
|
too-many-boolean-expressions,
|
||||||
too-many-branches,
|
too-many-branches,
|
||||||
|
too-many-function-args,
|
||||||
too-many-instance-attributes,
|
too-many-instance-attributes,
|
||||||
too-many-lines,
|
too-many-lines,
|
||||||
too-many-locals,
|
too-many-locals,
|
||||||
|
too-many-nested-blocks,
|
||||||
too-many-public-methods,
|
too-many-public-methods,
|
||||||
too-many-return-statements,
|
too-many-return-statements,
|
||||||
too-many-statements,
|
too-many-statements,
|
||||||
|
@ -23,7 +23,7 @@ WebTest>=2.0 # MIT
|
|||||||
reno>=1.8.0 # Apache-2.0
|
reno>=1.8.0 # Apache-2.0
|
||||||
bandit>=1.1.0 # Apache-2.0
|
bandit>=1.1.0 # Apache-2.0
|
||||||
tempest>=14.0.0 # Apache-2.0
|
tempest>=14.0.0 # Apache-2.0
|
||||||
pylint==1.4.5 # GPLv2
|
pylint==1.7.1 # GPLv2
|
||||||
python-openstackclient>=3.3.0 # Apache-2.0
|
python-openstackclient>=3.3.0 # Apache-2.0
|
||||||
requests-mock>=1.1 # Apache-2.0
|
requests-mock>=1.1 # Apache-2.0
|
||||||
pyshark>=0.3.7.2 # pyshark
|
pyshark>=0.3.7.2 # pyshark
|
||||||
|
Loading…
Reference in New Issue
Block a user