style: clean up code formatting and add missing newline in profiler.py

This commit is contained in:
grillazz
2026-02-05 11:53:29 +01:00
parent 81fcfad62d
commit 447e4e941c
4 changed files with 6 additions and 7 deletions

View File

@@ -48,9 +48,9 @@ async def lifespan(app: FastAPI):
middleware = [
Middleware(GZipMiddleware),
Middleware(ProfilingMiddleware),
]
Middleware(GZipMiddleware),
Middleware(ProfilingMiddleware),
]
def create_app() -> FastAPI:
@@ -78,8 +78,6 @@ def create_app() -> FastAPI:
# Register exception handlers
register_exception_handlers(app)
@app.get("/index", response_class=HTMLResponse)
def get_index(request: Request):
return templates.TemplateResponse("index.html", {"request": request})