Skip to content

Commit aa6a1ee

Browse files
committed
fix lint
1 parent 818467a commit aa6a1ee

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

test/integration/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def get_random_label():
3434
return label
3535

3636

37-
def get_region(client: LinodeClient, capabilities: Set[str] = None, site_type: str = None):
37+
def get_region(
38+
client: LinodeClient, capabilities: Set[str] = None, site_type: str = None
39+
):
3840
region_override = os.environ.get(ENV_REGION_OVERRIDE)
3941

4042
# Allow overriding the target test region
@@ -49,9 +51,7 @@ def get_region(client: LinodeClient, capabilities: Set[str] = None, site_type: s
4951
]
5052

5153
if site_type is not None:
52-
regions = [
53-
v for v in regions if v.site_type == site_type
54-
]
54+
regions = [v for v in regions if v.site_type == site_type]
5555

5656
return random.choice(regions)
5757

test/integration/linode_client/test_linode_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
@pytest.fixture(scope="session")
1313
def setup_client_and_linode(test_linode_client, e2e_test_firewall):
1414
client = test_linode_client
15-
chosen_region = get_region(client, {"Kubernetes", "NodeBalancers"}, "core").id
15+
chosen_region = get_region(
16+
client, {"Kubernetes", "NodeBalancers"}, "core"
17+
).id
1618

1719
label = get_test_label()
1820

0 commit comments

Comments
 (0)