🎨 Format files with pre-commit and Ruff (#611)

This commit is contained in:
Sebastián Ramírez
2024-02-25 19:39:33 +01:00
committed by GitHub
parent 2802a4df9e
commit 0cc802eec8
35 changed files with 156 additions and 163 deletions
@@ -1,7 +1,7 @@
from typing import Any, List
from typing import Any
from fastapi import APIRouter, Depends, HTTPException
from sqlmodel import select, func
from sqlmodel import func, select
from app import crud
from app.api.deps import (
@@ -28,9 +28,7 @@ router = APIRouter()
@router.get(
"/",
dependencies=[Depends(get_current_active_superuser)],
response_model=UsersOut
"/", dependencies=[Depends(get_current_active_superuser)], response_model=UsersOut
)
def read_users(session: SessionDep, skip: int = 0, limit: int = 100) -> Any:
"""