From f7d69c4d7c7f7fc8e56d9839b75041c3df663c47 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 00:26:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pytest_flask/live_server.py | 3 +-- src/pytest_flask/plugin.py | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pytest_flask/live_server.py b/src/pytest_flask/live_server.py index 71bb1b5..5f2150e 100644 --- a/src/pytest_flask/live_server.py +++ b/src/pytest_flask/live_server.py @@ -22,8 +22,7 @@ def run( debug: Union[bool, None] = None, load_dotenv: bool = True, **options: Any, - ) -> None: - ... + ) -> None: ... # force 'fork' on macOS diff --git a/src/pytest_flask/plugin.py b/src/pytest_flask/plugin.py index 5c03eae..6bb78d5 100644 --- a/src/pytest_flask/plugin.py +++ b/src/pytest_flask/plugin.py @@ -32,11 +32,9 @@ class _SupportsPytestFlaskEqual(Protocol): status_code: int - def __eq__(self, other: Any) -> bool: - ... + def __eq__(self, other: Any) -> bool: ... - def __ne__(self, other: Any) -> bool: - ... + def __ne__(self, other: Any) -> bool: ... class JSONResponse: