Address gate issues

Change-Id: I91e324b3ab64fddc8ba2c63d971ae9c0d777ab81
This commit is contained in:
Gary Kotton 2017-05-08 03:59:43 +03:00
parent 24fc248f42
commit 4f3d934313
2 changed files with 22 additions and 1 deletions

View File

@ -22,8 +22,10 @@ disable=
no-member,
no-method-argument,
no-self-argument,
not-an-iterable,
# "W" Warnings for stylistic problems or minor programming issues
abstract-method,
abstract-class-instantiated,
arguments-differ,
attribute-defined-outside-init,
bad-builtin,
@ -34,6 +36,7 @@ disable=
expression-not-assigned,
fixme,
global-statement,
literal-comparison,
no-init,
non-parent-init-called,
not-callable,
@ -48,26 +51,44 @@ disable=
unused-argument,
unused-import,
unused-variable,
unsubscriptable-object,
useless-super-delegation,
# TODO(dougwig) - disable nonstandard-exception while we have neutron_lib shims
nonstandard-exception,
# "C" Coding convention violations
bad-continuation,
consider-iterating-dictionary,
consider-using-enumerate,
invalid-name,
len-as-condition,
misplaced-comparison-constant,
missing-docstring,
singleton-comparison,
superfluous-parens,
ungrouped-imports,
wrong-import-order,
wrong-import-position,
# "R" Refactor recommendations
abstract-class-little-used,
abstract-class-not-used,
consider-merging-isinstance,
consider-using-ternary,
duplicate-code,
interface-not-implemented,
no-else-return,
no-self-use,
redefined-argument-from-local,
simplifiable-if-statement,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-function-args,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-nested-blocks,
too-many-public-methods,
too-many-return-statements,
too-many-statements,

View File

@ -23,7 +23,7 @@ WebTest>=2.0 # MIT
reno>=1.8.0 # Apache-2.0
bandit>=1.1.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
requests-mock>=1.1 # Apache-2.0
pyshark>=0.3.7.2 # pyshark