[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a870f2c050
commit
74d95cdeec
5 changed files with 10 additions and 17 deletions
|
|
@ -17,20 +17,16 @@ async def after_async(response: Response) -> Response:
|
|||
|
||||
|
||||
@app.before_request
|
||||
def before_sync() -> None:
|
||||
...
|
||||
def before_sync() -> None: ...
|
||||
|
||||
|
||||
@app.before_request
|
||||
async def before_async() -> None:
|
||||
...
|
||||
async def before_async() -> None: ...
|
||||
|
||||
|
||||
@app.teardown_appcontext
|
||||
def teardown_sync(exc: BaseException | None) -> None:
|
||||
...
|
||||
def teardown_sync(exc: BaseException | None) -> None: ...
|
||||
|
||||
|
||||
@app.teardown_appcontext
|
||||
async def teardown_async(exc: BaseException | None) -> None:
|
||||
...
|
||||
async def teardown_async(exc: BaseException | None) -> None: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue