Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 29, 2024
1 parent 4607e49 commit db8ecde
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ def prepend_middleware(path: str) -> modify_settings:


@contextmanager
def temporary_check_request_hander(
handler: Callable[..., bool]
) -> Generator[None, None, None]:
def temporary_check_request_hander(handler: Callable[..., bool]) -> Generator[None]:
check_request_enabled.connect(handler)
try:
yield
Expand Down

0 comments on commit db8ecde

Please sign in to comment.