From 002bcb672f0b62967fff739e1fed2fea739dc7c8 Mon Sep 17 00:00:00 2001 From: AIOSAI Date: Sun, 1 Mar 2026 20:21:03 -0800 Subject: [PATCH] fix(routing): remove unused imports to pass CI lint Remove unused `pathlib.Path` and `RegistryNotFoundError` from resolver.py and unused `tempfile` from test_routing_core.py, resolving ruff F401 errors. Co-Authored-By: Claude Sonnet 4.6 --- src/aipass/routing/resolver.py | 3 +-- tests/test_routing_core.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/aipass/routing/resolver.py b/src/aipass/routing/resolver.py index d99d0597..34767cee 100644 --- a/src/aipass/routing/resolver.py +++ b/src/aipass/routing/resolver.py @@ -4,10 +4,9 @@ Branch resolution logic. Resolves symbolic @branch names to absolute paths and metadata. """ -from pathlib import Path from typing import Any, Dict, List, Optional -from .exceptions import BranchNotFoundError, RegistryNotFoundError +from .exceptions import BranchNotFoundError from .registry import get_all_branches, get_branch_by_name, load_registry diff --git a/tests/test_routing_core.py b/tests/test_routing_core.py index a9514768..ca73bb16 100644 --- a/tests/test_routing_core.py +++ b/tests/test_routing_core.py @@ -5,7 +5,6 @@ Tests all Phase 1 routing functions with >80% coverage target. """ import json -import tempfile from pathlib import Path import pytest