Include Isort commands
This commit is contained in:
parent
46be7cabb8
commit
fc3f311e56
17
.vscode/tasks.json
vendored
17
.vscode/tasks.json
vendored
@ -10,6 +10,21 @@
|
||||
"problemMatcher": [
|
||||
"$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"
|
||||
]
|
||||
} ]
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
from typing import List
|
||||
|
||||
from pydantic import Field
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
@ -1,8 +1,11 @@
|
||||
"""Database configuration and connection management."""
|
||||
from typing import Generator
|
||||
from sqlalchemy import create_engine, MetaData
|
||||
from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine, async_sessionmaker
|
||||
from sqlalchemy.orm import DeclarativeBase, sessionmaker, Session
|
||||
|
||||
from sqlalchemy import MetaData, create_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
|
||||
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
"""Health check endpoints."""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.core.database import DatabaseService
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user