style: fix formatting
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 20s
CI / build (pull_request) Successful in 25s
CI / quality (pull_request) Successful in 29s
CI / typecheck (pull_request) Successful in 32s
CI / security (pull_request) Successful in 1m2s
CI / integration_tests (pull_request) Failing after 2m49s
CI / benchmark-regression (pull_request) Failing after 2m33s
CI / unit_tests (pull_request) Failing after 7m54s
CI / docker (pull_request) Has been skipped
CI / coverage (pull_request) Failing after 16m44s

This commit is contained in:
2026-02-20 20:38:53 +00:00
parent ab8ed19aa7
commit 7bf8056003
2 changed files with 5 additions and 16 deletions
+2 -7
View File
@@ -9,7 +9,6 @@ from __future__ import annotations
from pathlib import Path
DOCS_DIR = Path("docs")
PLAYBOOK_PATH = DOCS_DIR / "development" / "review_playbook.md"
@@ -35,17 +34,13 @@ class DocsParseSuite:
"""Benchmark counting markdown sections in the playbook."""
if self.playbook_text:
lines: list[str] = self.playbook_text.splitlines()
_sections: list[str] = [
line for line in lines if line.startswith("#")
]
_sections: list[str] = [line for line in lines if line.startswith("#")]
def time_extract_tables(self) -> None:
"""Benchmark extracting markdown table rows from the playbook."""
if self.playbook_text:
lines: list[str] = self.playbook_text.splitlines()
_table_rows: list[str] = [
line for line in lines if line.startswith("|")
]
_table_rows: list[str] = [line for line in lines if line.startswith("|")]
class DocsDiscoverySuite:
+3 -9
View File
@@ -19,9 +19,7 @@ def step_then_review_playbook_exists(context: Context) -> None:
"""Verify the review playbook file exists."""
playbook_path: Path = context.review_playbook_path
if not playbook_path.exists():
raise AssertionError(
f"Review playbook file not found at {playbook_path}"
)
raise AssertionError(f"Review playbook file not found at {playbook_path}")
@when("I read the review playbook content")
@@ -29,9 +27,7 @@ def step_when_read_review_playbook(context: Context) -> None:
"""Read the review playbook file content."""
playbook_path: Path = context.review_playbook_path
if not playbook_path.exists():
raise FileNotFoundError(
f"Review playbook file not found at {playbook_path}"
)
raise FileNotFoundError(f"Review playbook file not found at {playbook_path}")
context.review_playbook_content = playbook_path.read_text(encoding="utf-8")
@@ -52,9 +48,7 @@ def step_then_playbook_contains_text(context: Context, text: str) -> None:
"""Verify the playbook contains specific text."""
content: str = context.review_playbook_content
if text not in content:
raise AssertionError(
f"Text '{text}' not found in review playbook"
)
raise AssertionError(f"Text '{text}' not found in review playbook")
@then("the playbook should reference these nox sessions:")