Skip to content

Commit ccfd346

Browse files
committed
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: openstack-charmers/release-tools#301 Change-Id: Id0f53ee333833b62078c0f5bedd3e55e63cfd422
1 parent a4ce151 commit ccfd346

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hooks/neutron_api_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def migrate_neutron_database(upgrade=False):
807807
return
808808

809809
log('Migrating the neutron database.')
810-
if(os_release('neutron-server') == 'juno' and
810+
if (os_release('neutron-server') == 'juno' and
811811
config('neutron-plugin') == 'vsp'):
812812
nuage_vsp_juno_neutron_migration()
813813
else:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ deps =
6565

6666
[testenv:pep8]
6767
basepython = python3
68-
deps = flake8==3.9.2
68+
deps = flake8==7.1.1
6969
git+https://github.com/juju/charm-tools.git
7070
commands = flake8 {posargs} hooks unit_tests tests actions lib files
7171
charm-proof

0 commit comments

Comments
 (0)