no-mistakes(document): Document P0 auth batch; reconcile HARDENING statuses; lint fixes

This commit is contained in:
root
2026-09-08 12:48:47 +00:00
parent f1b68dd1b7
commit e627f50f66
6 changed files with 67 additions and 49 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ async def list_tickets(
"""
if page_size is not None and limit is not None and page_size != limit:
raise HTTPException(
status_code=422, # noqa: PLR2004 — param ``status`` shadows fastapi.status here
status_code=422, # ``status`` query param shadows fastapi.status in this scope
detail="Provide either 'page_size' or 'limit', not both",
)
effective_page_size = page_size if page_size is not None else (limit or DEFAULT_PAGE_SIZE)