Add Autoflake command and some import cleanup

This commit is contained in:
Timothy Farrell 2025-12-28 18:33:55 -06:00
parent d6870f814e
commit b1087405d1
4 changed files with 10 additions and 4 deletions

8
.vscode/tasks.json vendored
View File

@ -42,6 +42,14 @@
"problemMatcher": [
"$python"
]
},
{
"label": "Autoflake Fix",
"type": "shell",
"command": "uv run autoflake -i app/**/*.py",
"problemMatcher": [
"$python"
]
}
]
}

View File

@ -1,4 +1,3 @@
from typing import List
from pydantic import Field
from pydantic_settings import BaseSettings

View File

@ -2,8 +2,7 @@
from typing import Generator
from sqlalchemy import MetaData, create_engine
from sqlalchemy.ext.asyncio import (AsyncSession, async_sessionmaker,
create_async_engine)
from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker, create_async_engine
from sqlalchemy.orm import DeclarativeBase, Session, sessionmaker
from app.core.config import settings

View File

@ -19,7 +19,7 @@ def create_app() -> FastAPI:
docs_url="/docs",
redoc_url="/redoc",
)
# Include all endpoint routers
app.include_router(health.router, tags=["health"])