Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
knrdl committed Oct 9, 2024
1 parent f7d1ee9 commit 91e0994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/acme/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ def _schemeless_url(url: str):
return url.removeprefix('http://')
return url

async def __call__(
async def __call__( # pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-locals
self, request: Request, response: Response,
content_type: str = Header(..., pattern=r'^application/jose\+json$', description='Content Type must be "application/jose+json"'),
protected: constr(min_length=1) = Body(...), signature: constr(min_length=1) = Body(...), payload: constr(min_length=0) = Body(...)
# pylint: disable=too-many-arguments,too-many-locals
):
protected_data = Protected(**json.loads(base64url_decode(protected)))

Expand Down

0 comments on commit 91e0994

Please sign in to comment.