Include Isort commands

This commit is contained in:
Timothy Farrell 2025-12-28 12:14:43 -06:00
parent 46be7cabb8
commit fc3f311e56
4 changed files with 25 additions and 5 deletions

19
.vscode/tasks.json vendored
View File

@ -10,6 +10,21 @@
"problemMatcher": [ "problemMatcher": [
"$python" "$python"
] ]
} },
] {
"label": "Isort Check",
"type": "shell",
"command": "uv run isort . --check --diff",
"problemMatcher": [
"$python"
]
},
{
"label": "Isort Fix",
"type": "shell",
"command": "uv run isort .",
"problemMatcher": [
"$python"
]
} ]
} }

View File

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

View File

@ -1,8 +1,11 @@
"""Database configuration and connection management.""" """Database configuration and connection management."""
from typing import Generator from typing import Generator
from sqlalchemy import create_engine, MetaData
from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine, async_sessionmaker from sqlalchemy import MetaData, create_engine
from sqlalchemy.orm import DeclarativeBase, sessionmaker, Session from sqlalchemy.ext.asyncio import (AsyncSession, async_sessionmaker,
create_async_engine)
from sqlalchemy.orm import DeclarativeBase, Session, sessionmaker
from app.core.config import settings from app.core.config import settings

View File

@ -1,5 +1,6 @@
"""Health check endpoints.""" """Health check endpoints."""
from fastapi import APIRouter from fastapi import APIRouter
from app.core.database import DatabaseService from app.core.database import DatabaseService
router = APIRouter() router = APIRouter()