style: fix remaining import guards and unused imports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jon Saad-Falcon
2026-03-05 05:47:29 +00:00
co-authored by Claude Opus 4.6
parent 449bdac2a1
commit c488e2a263
2 changed files with 8 additions and 6 deletions
+8 -3
View File
@@ -2,10 +2,15 @@
from __future__ import annotations
from fastapi import FastAPI
from starlette.testclient import TestClient
import pytest
from openjarvis.server.api_routes import learning_router
fastapi = pytest.importorskip("fastapi")
starlette = pytest.importorskip("starlette")
from fastapi import FastAPI # noqa: E402
from starlette.testclient import TestClient # noqa: E402
from openjarvis.server.api_routes import learning_router # noqa: E402
def _make_app() -> FastAPI:
-3
View File
@@ -3,9 +3,6 @@
from __future__ import annotations
import json
import os
import pytest
class TestGetRustModule: