Fix pep8 error
Summary of changes: - Fix minor formatting error triggered by upgrade from flake8 3.9.2 -> 7.1.1. - Bump flake8 for py312 compatibility (see related-pr) Related-PR: https://github.com/openstack-charmers/release-tools/pull/301 Change-Id: Id0f53ee333833b62078c0f5bedd3e55e63cfd422
This commit is contained in:
parent
a4ce151ccc
commit
ccfd346a4d
@ -807,7 +807,7 @@ def migrate_neutron_database(upgrade=False):
|
|||||||
return
|
return
|
||||||
|
|
||||||
log('Migrating the neutron database.')
|
log('Migrating the neutron database.')
|
||||||
if(os_release('neutron-server') == 'juno' and
|
if (os_release('neutron-server') == 'juno' and
|
||||||
config('neutron-plugin') == 'vsp'):
|
config('neutron-plugin') == 'vsp'):
|
||||||
nuage_vsp_juno_neutron_migration()
|
nuage_vsp_juno_neutron_migration()
|
||||||
else:
|
else:
|
||||||
|
2
tox.ini
2
tox.ini
@ -65,7 +65,7 @@ deps =
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = flake8==3.9.2
|
deps = flake8==7.1.1
|
||||||
git+https://github.com/juju/charm-tools.git
|
git+https://github.com/juju/charm-tools.git
|
||||||
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
commands = flake8 {posargs} hooks unit_tests tests actions lib files
|
||||||
charm-proof
|
charm-proof
|
||||||
|
Loading…
Reference in New Issue
Block a user