Fix new pylint warnings

See pylint warnings in [1]. Related to fix [2].

[1] https://3a55ed6dd892f28b78e8-5067ad0e5cf1f9e6b3e5798c03f452f6.ssl.cf2.rackcdn.com/859811/1/check/openstack-tox-pep8/9907a0a/job-output.txt
[2] https://review.opendev.org/c/openstack/octavia-lib/+/847036

Change-Id: Ife16b3bc5d1153a5c6112fa10a666947e269ef91
(cherry picked from commit 89844bba8e)
(cherry picked from commit 67af989663)
This commit is contained in:
Tom Weininger 2022-09-29 10:45:05 +02:00
parent 125cfe3077
commit 8255619153

View File

@ -20,11 +20,9 @@ disable=
anomalous-backslash-in-string,
arguments-differ,
attribute-defined-outside-init,
bad-builtin,
broad-except,
fixme,
global-statement,
no-init,
pointless-string-statement,
protected-access,
redefined-builtin,
@ -35,15 +33,12 @@ disable=
unused-variable,
useless-super-delegation,
# "C" Coding convention violations
bad-continuation,
invalid-name,
line-too-long,
missing-docstring,
consider-using-f-string,
# "R" Refactor recommendations
duplicate-code,
interface-not-implemented,
no-self-use,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,