Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
copalco committed Oct 17, 2023
1 parent 614c8e9 commit 43b98ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions falcon/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2650,7 +2650,9 @@ class MediaMalformedError(HTTPBadRequest):
base articles related to this error (default ``None``).
"""

def __init__(self, media_type: str, **kwargs: Union[RawHeaders, HTTPErrorKeywordArguments]):
def __init__(
self, media_type: str, **kwargs: Union[RawHeaders, HTTPErrorKeywordArguments]
):
super().__init__(
title='Invalid {0}'.format(media_type), description=None, **kwargs
)
Expand Down Expand Up @@ -2751,7 +2753,9 @@ class MultipartParseError(MediaMalformedError):

@deprecated_args(allowed_positional=0)
def __init__(
self, description: Optional[str] = None, **kwargs: Union[RawHeaders, HTTPErrorKeywordArguments]
self,
description: Optional[str] = None,
**kwargs: Union[RawHeaders, HTTPErrorKeywordArguments],
) -> None:
HTTPBadRequest.__init__(
self,
Expand Down

0 comments on commit 43b98ec

Please sign in to comment.