mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
style: fix remaining import guards and unused imports
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
449bdac2a1
commit
c488e2a263
@@ -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,9 +3,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
class TestGetRustModule:
|
||||
|
||||
Reference in New Issue
Block a user