Skip to content

Commit 84a7dd3

Browse files
committed
style: ruff format SPOG conftest.py
Collapses two single-line docstrings and an over-wrapped raise to satisfy Code Quality CI.
1 parent 473fcb2 commit 84a7dd3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

tests/functional/adapter/spog/conftest.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,18 @@ def _require_spog_test_env():
2323

2424

2525
def _workspace_id() -> str:
26-
"""Return the SPOG workspace ID to point tests at.
27-
"""
26+
"""Return the SPOG workspace ID to point tests at."""
2827
workspace_id = os.getenv("TEST_PECO_SPOG_WORKSPACE_ID")
2928
if not workspace_id:
3029
raise RuntimeError("SPOG functional tests require TEST_PECO_SPOG_WORKSPACE_ID to be set.")
3130
return workspace_id
3231

3332

3433
def _spog_host() -> str:
35-
"""Return the SPOG host to point tests at.
36-
"""
34+
"""Return the SPOG host to point tests at."""
3735
host = os.getenv("TEST_PECO_SPOG_HOST")
3836
if not host:
39-
raise RuntimeError(
40-
"SPOG functional tests require TEST_PECO_SPOG_HOST to be set."
41-
)
37+
raise RuntimeError("SPOG functional tests require TEST_PECO_SPOG_HOST to be set.")
4238
return host
4339

4440

0 commit comments

Comments
 (0)