Pin pylint version
Pylint 2.7 added new checks that make pep8 fail. Fix the error but pin pylint so it doesn't break the gate in the future. Change-Id: I425a4265d5bca990d4b93d19eedc7b40a73311ef
This commit is contained in:
parent
175ce9f932
commit
0db33223de
|
@ -85,8 +85,8 @@ class OvnProviderHelper(object):
|
|||
@staticmethod
|
||||
def _is_lb_empty(external_ids):
|
||||
"""Check if there is no pool or listener defined."""
|
||||
return not any([k.startswith('listener') or k.startswith('pool')
|
||||
for k in external_ids])
|
||||
return not any(k.startswith('listener') or k.startswith('pool')
|
||||
for k in external_ids)
|
||||
|
||||
@staticmethod
|
||||
def _delete_disabled_from_status(status):
|
||||
|
|
|
@ -10,7 +10,7 @@ flake8-import-order==0.12 # LGPLv3
|
|||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
pylint>=2.5.3 # GPLv2
|
||||
pylint>=2.5.3,<=2.6.0 # GPLv2
|
||||
isort==4.3.21 # MIT
|
||||
octavia-lib>=1.3.1 # Apache-2.0
|
||||
testresources>=2.0.0 # Apache-2.0/BSD
|
||||
|
|
Loading…
Reference in New Issue