Skip to content

Commit

Permalink
Fix pep8 error
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MylesJP committed Aug 19, 2024
1 parent a4ce151 commit ccfd346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hooks/neutron_api_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ def migrate_neutron_database(upgrade=False):
return

log('Migrating the neutron database.')
if(os_release('neutron-server') == 'juno' and
if (os_release('neutron-server') == 'juno' and
config('neutron-plugin') == 'vsp'):
nuage_vsp_juno_neutron_migration()
else:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ deps =

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

0 comments on commit ccfd346

Please sign in to comment.