Include Isort commands
This commit is contained in:
parent
46be7cabb8
commit
fc3f311e56
19
.vscode/tasks.json
vendored
19
.vscode/tasks.json
vendored
@ -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"
|
||||||
|
]
|
||||||
|
} ]
|
||||||
}
|
}
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user