From c589148f5b5589b06fe0b10ad968db792b9eb40b Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 8 Oct 2024 00:36:32 +0000
Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0)
- [github.com/asottile/reorder-python-imports: v3.12.0 → v3.13.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.13.0)
- [github.com/psf/black: 23.12.1 → 24.10.0](https://github.com/psf/black/compare/23.12.1...24.10.0)
- [github.com/PyCQA/flake8: 6.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.1.0...7.1.1)
- [github.com/PyCQA/autoflake: v2.2.1 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v2.2.1...v2.3.1)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.11.2)
---
 .pre-commit-config.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 20019e6..fba368e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
 repos:
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.5.0
+    rev: v5.0.0
     hooks:
     -   id: check-byte-order-marker
     -   id: trailing-whitespace
@@ -9,16 +9,16 @@ repos:
         args: [--remove]
     -   id: check-yaml
 -   repo: https://github.com/asottile/reorder-python-imports
-    rev: v3.12.0
+    rev: v3.13.0
     hooks:
     -   id: reorder-python-imports
         args: ['--application-directories=.:src', --py3-plus]
 -   repo: https://github.com/psf/black
-    rev: 23.12.1
+    rev: 24.10.0
     hooks:
       - id: black
 -   repo: https://github.com/PyCQA/flake8
-    rev: 6.1.0
+    rev: 7.1.1
     hooks:
     -   id: flake8
         additional_dependencies: [flake8-bugbear]
@@ -31,11 +31,11 @@ repos:
         language: python
         additional_dependencies: [pygments, restructuredtext_lint]
 -   repo: https://github.com/PyCQA/autoflake
-    rev: v2.2.1
+    rev: v2.3.1
     hooks:
     -   id: autoflake
 -   repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v1.8.0
+    rev: v1.11.2
     hooks:
     -   id: mypy
         files: ^(src/|tests/)

From 5c0c069fec75bfd4a5d04d625525de159bdc1500 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 8 Oct 2024 00:37:50 +0000
Subject: [PATCH 2/3] [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:

From 8e16792487bf91f4357874b3ce8eb4990d5f2de8 Mon Sep 17 00:00:00 2001
From: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Date: Tue, 8 Oct 2024 10:59:20 +0200
Subject: [PATCH 3/3] Disable E704, incompatible with autoformatter

---
 setup.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.cfg b/setup.cfg
index 19108d7..d91d700 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -64,4 +64,5 @@ ignore =
     W503
     F401
     F811
+    E704
 max-line-length = 80