Skip to content

Commit 94a6999

Browse files
anth-volkclaude
andcommitted
Format config_loader.py with black 24.3.0 to match CI
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8544fae commit 94a6999

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

tests/fixtures/utils/config_loader.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,16 @@ def temp_config_with_variables():
269269
with tempfile.NamedTemporaryFile(
270270
mode="w", suffix=".yaml", delete=False
271271
) as f:
272-
f.write("""
272+
f.write(
273+
"""
273274
auth:
274275
address: ${AUTH0_ADDRESS}
275276
audience: $AUTH0_AUDIENCE
276277
database:
277278
password: ${DB_PASSWORD}
278279
special: ${ANOTHER_VAR}
279-
""")
280+
"""
281+
)
280282
temp_path = f.name
281283

282284
yield temp_path
@@ -306,11 +308,13 @@ def temp_config_with_missing_var():
306308
with tempfile.NamedTemporaryFile(
307309
mode="w", suffix=".yaml", delete=False
308310
) as f:
309-
f.write("""
311+
f.write(
312+
"""
310313
auth:
311314
address: ${AUTH0_ADDRESS}
312315
audience: ${MISSING_VAR}
313-
""")
316+
"""
317+
)
314318
temp_path = f.name
315319

316320
yield temp_path
@@ -424,13 +428,15 @@ def temp_config_with_complex_values():
424428
with tempfile.NamedTemporaryFile(
425429
mode="w", suffix=".yaml", delete=False
426430
) as f:
427-
f.write("""
431+
f.write(
432+
"""
428433
url: ${URL_WITH_QUERY}
429434
json: ${JSON_STRING}
430435
path: ${PATH_WITH_SPACES}
431436
empty: ${EMPTY_VALUE}
432437
quoted: ${VALUE_WITH_QUOTES}
433-
""")
438+
"""
439+
)
434440
temp_path = f.name
435441

436442
yield temp_path
@@ -467,7 +473,8 @@ def temp_realistic_config_with_vars():
467473
with tempfile.NamedTemporaryFile(
468474
mode="w", suffix=".yaml", delete=False
469475
) as f:
470-
f.write("""
476+
f.write(
477+
"""
471478
app:
472479
name: policyengine-household-api
473480
environment: test
@@ -486,7 +493,8 @@ def temp_realistic_config_with_vars():
486493
connection_name: ${USER_ANALYTICS_DB_CONNECTION_NAME}
487494
username: ${USER_ANALYTICS_DB_USERNAME}
488495
password: ${USER_ANALYTICS_DB_PASSWORD}
489-
""")
496+
"""
497+
)
490498
temp_path = f.name
491499

492500
yield temp_path

0 commit comments

Comments
 (0)