Skip to content

Commit eaef17b

Browse files
ethompsyclaude
andcommitted
style(ui): fix ruff lint (unused imports, import order) in Task 1.6 tests
Repo-wide 'ruff check .' (CI 'Python UI' lint step) flagged unused imports (MagicMock, Investigation) and import ordering that per-file agent checks missed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent cfbf01e commit eaef17b

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

ui/beeper_ui/routes/react_shell.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
it works in both environments without environment variables.
2222
"""
2323

24-
import os
2524
from pathlib import Path
2625

2726
from flask import Blueprint, send_file, send_from_directory

ui/tests/test_api_v1_investigations.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from __future__ import annotations
2222

2323
import json
24-
from unittest.mock import MagicMock, patch
24+
from unittest.mock import patch
2525

2626
import pytest
2727
import respx
@@ -32,12 +32,10 @@
3232
from beeper_ui.app import create_app
3333
from beeper_ui.config import TestingConfig
3434
from beeper_ui.services.investigation_service import (
35-
Investigation,
3635
InvestigationDetail,
3736
InvestigationServiceError,
3837
)
3938

40-
4139
# ---------------------------------------------------------------------------
4240
# Fixtures
4341
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)