fix: apply pre-commit formatting

This commit is contained in:
Peter Double 2025-04-14 12:35:32 -04:00
parent ffb5600ec4
commit ff468d91ce

View file

@ -230,13 +230,7 @@ class TracingMiddleware:
self.app = app
self.impls = impls
# FastAPI built-in paths that should bypass custom routing
self.fastapi_paths = (
"/docs",
"/redoc",
"/openapi.json",
"/favicon.ico",
"/static"
)
self.fastapi_paths = ("/docs", "/redoc", "/openapi.json", "/favicon.ico", "/static")
async def __call__(self, scope, receive, send):
if scope.get("type") == "lifespan":