python-tripleoclient/.pylintrc
Jiri Podivin d7e8bfb053 Enabling pylint no-else-return
Relevant logic was altered to comply with the rule
while preserving the function.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I8363336463dc170087924b2f7cc3fa56609f848e
2021-07-23 16:57:18 +02:00

79 lines
1.9 KiB
INI

[MESSAGES CONTROL]
disable =
# TODO(ssbarnea): remove temporary skips added during initial adoption:
arguments-differ,
assignment-from-no-return,
attribute-defined-outside-init,
broad-except,
consider-iterating-dictionary,
consider-merging-isinstance,
consider-using-dict-comprehension,
consider-using-in,
consider-using-set-comprehension,
dangerous-default-value,
deprecated-method,
duplicate-code,
expression-not-assigned,
fixme,
global-statement,
import-error,
import-outside-toplevel,
inconsistent-return-statements,
invalid-name,
line-too-long,
logging-format-interpolation,
logging-not-lazy,
lost-exception,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-break,
no-else-continue,
no-else-raise,
no-member,
no-self-use,
no-value-for-parameter,
protected-access,
raise-missing-from,
redefined-argument-from-local,
redefined-builtin,
redefined-outer-name,
reimported,
self-assigning-variable,
simplifiable-if-statement,
super-init-not-called,
super-with-arguments,
superfluous-parens,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,
too-many-branches,
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,
trailing-comma-tuple,
try-except-raise,
undefined-loop-variable,
ungrouped-imports,
unidiomatic-typecheck,
unnecessary-comprehension,
unnecessary-lambda,
unnecessary-pass,
unsubscriptable-object,
unused-argument,
unused-import,
unused-variable,
useless-else-on-loop,
useless-object-inheritance,
useless-super-delegation,
wrong-import-order,
wrong-import-position
[REPORTS]
output-format = colorized