code reformatting

This commit is contained in:
Vincent Maillol
2021-07-11 07:31:37 +02:00
parent 08ab4d2610
commit 89a22f2fcd
9 changed files with 33 additions and 14 deletions

View File

@@ -60,7 +60,9 @@ class PydanticView(AbstractView):
def raise_not_allowed(self) -> None:
warnings.warn(
"PydanticView.raise_not_allowed is deprecated and renamed _raise_allowed_methods",
DeprecationWarning, stacklevel=2)
DeprecationWarning,
stacklevel=2,
)
self._raise_allowed_methods()
@staticmethod