Skip to content

Commit 1658054

Browse files
authored
Fix black 26.3.1 formatting (#275)
Reformat code to comply with black 26.3.1 stable style, which was updated in osism/zuul-jobs#180. AI-assisted: Claude Code Signed-off-by: Roger Luethi <luethi@osism.tech>
1 parent 3b391e5 commit 1658054

7 files changed

Lines changed: 2 additions & 11 deletions

File tree

openstack_project_manager/create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from tabulate import tabulate
1313
from typing import Optional
1414

15-
1615
# Default roles to be assigned to a new user for a project
1716
DEFAULT_ROLES = ["member", "load-balancer_member"]
1817
DEFAULT_MANAGER_ROLE = "manager"

openstack_project_manager/create_user.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from tabulate import tabulate
1010
from typing import Optional
1111

12-
1312
# Default roles to be assigned to a new user for a project
1413
DEFAULT_ROLES = ["member", "load-balancer_member"]
1514

test/unit/test_create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
from openstack_project_manager.create import generate_password, run
1010

11-
1211
app = typer.Typer()
1312
app.command()(run)
1413

test/unit/test_create_ldap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from openstack_project_manager.create_ldap import run
99

10-
1110
app = typer.Typer()
1211
app.command()(run)
1312

test/unit/test_create_user.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
from openstack_project_manager.create_user import generate_password, run
1010

11-
1211
app = typer.Typer()
1312
app.command()(run)
1413

test/unit/test_manage.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@
4141
run,
4242
)
4343

44-
4544
app = typer.Typer()
4645
app.command()(run)
4746

48-
MOCK_QUOTA_CLASSES = yaml.safe_load(
49-
"""
47+
MOCK_QUOTA_CLASSES = yaml.safe_load("""
5048
---
5149
default:
5250
compute:
@@ -79,8 +77,7 @@
7977
parent: default
8078
flavors:
8179
- flavor_name
82-
"""
83-
)
80+
""")
8481

8582

8683
class CloudTest(unittest.TestCase):

test/unit/test_manage_ldap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from openstack_project_manager.manage_ldap import run
99

10-
1110
app = typer.Typer()
1211
app.command()(run)
1312

0 commit comments

Comments
 (0)