Added tests/ for CI.
Some checks failed
CI / Lint & Format (push) Has been cancelled
CI / Tests (Pytest + Alembic + Postgres) (push) Has been cancelled
CI / Docker Build (push) Has been cancelled

This commit is contained in:
2025-09-22 20:23:26 +01:00
parent 8c53c2ffaa
commit 262de452e4
3 changed files with 27 additions and 8 deletions

View File

@@ -1,11 +1,12 @@
from fastapi import Depends, HTTPException, status
from fastapi.security import HTTPBearer
from jose import jwt, JWTError
from app.core.config import settings
from app.db.session import get_session
from sqlalchemy.ext.asyncio import AsyncSession
from app.models.user import User
from sqlalchemy import select
# ruff was driving me crazy with imported not used, noqa on all of these..
from fastapi import Depends, HTTPException, status # noqa: F401
from fastapi.security import HTTPBearer # noqa: F401
from jose import jwt, JWTError # noqa: F401
from app.core.config import settings # noqa: F401
from app.db.session import get_session # noqa: F401
from sqlalchemy.ext.asyncio import AsyncSession # noqa: F401
from app.models.user import User # noqa: F401
from sqlalchemy import select # noqa: F401
bearer = HTTPBearer()