fix(backend): format service.py and test files

This commit is contained in:
majdyz
2026-04-13 00:54:01 +00:00
parent 54f507b54b
commit fa6cc99a8a
4 changed files with 5 additions and 4 deletions

Submodule .claude/worktrees/pr-12725-fixes added at 5f92082f9c

View File

@@ -30,6 +30,7 @@ class _SystemPromptPreset(TypedDict):
append: str
exclude_dynamic_sections: bool
if TYPE_CHECKING:
from backend.copilot.permissions import CopilotPermissions

View File

@@ -235,9 +235,9 @@ class TestPromptSupplement:
for tool_name, tool in TOOL_REGISTRY.items():
if not tool.is_available:
continue
assert f"`{tool_name}`" in docs, (
f"Tool '{tool_name}' missing from baseline supplement"
)
assert (
f"`{tool_name}`" in docs
), f"Tool '{tool_name}' missing from baseline supplement"
def test_pause_task_scheduled_before_transcript_upload(self):
"""Pause is scheduled as a background task before transcript upload begins.

View File

@@ -35,7 +35,6 @@ class TestUsdToMicrodollars:
assert usd_to_microdollars(1.0) == 1_000_000
class TestMaskEmail:
def test_typical_email(self):
assert _mask_email("user@example.com") == "us***@example.com"