Skip to content

Commit

Permalink
fix linting issue with new flake8 version (canonical#409)
Browse files Browse the repository at this point in the history
Running lint tests on Python 3.12.3 with `flake8==7.0.0` and
`pyflakes==3.2.0` was failing.
  • Loading branch information
rgildein authored May 13, 2024
1 parent 287d01b commit 98510df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/steps/test_hypervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def test_hypervisor_azs_grouping():
```
"""
target = OpenStackRelease("victoria")
machines = {f"{i}": Machine(f"{i}", (), f"az{i//2}") for i in range(6)}
machines = {f"{i}": Machine(f"{i}", (), f"az{i // 2}") for i in range(6)}
units = {
# app1
"app1/0": Unit("app1/0", machines["0"], ""),
Expand Down Expand Up @@ -316,7 +316,7 @@ def test_hypervisor_azs_grouping_units_different_o7k_release():
```
"""
target = OpenStackRelease("victoria")
machines = {f"{i}": Machine(f"{i}", (), f"az{i//2}") for i in range(6)}
machines = {f"{i}": Machine(f"{i}", (), f"az{i // 2}") for i in range(6)}
units = {
# app1
"app1/0": Unit("app1/0", machines["0"], ""),
Expand Down

0 comments on commit 98510df

Please sign in to comment.