chore: migrate to ruff (#4305)
* base requirements * autofix * Configure ruff for Python linting and formatting - Set up minimal ruff configuration with basic checks (E, W, F, I) - Add temporary ignores for common issues during migration - Configure pre-commit hooks to use ruff with pass_filenames - This enables gradual migration from black to ruff * Delete sdj * autofixed only * migrate lint action * more autofixed * more fixes * change precommit * try changing the hook * try this stuff
This commit is contained in:
@@ -22,7 +22,6 @@ class AuthRequest(BaseModel):
|
||||
|
||||
|
||||
def setup_auth_router(server: SyncServer, interface: QueuingInterface, password: str) -> APIRouter:
|
||||
|
||||
@router.post("/auth", tags=["auth"], response_model=AuthResponse)
|
||||
def authenticate_user(request: AuthRequest) -> AuthResponse:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user