From e07e272c05f441417de890b6bfe60ea2aa9e4ba1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 May 2025 17:08:18 +0000 Subject: [PATCH 1/2] [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: v2.1.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v2.1.0...v5.0.0) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.15.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.11.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.11.11) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bef1e2c0..8b69161a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,11 +3,11 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.1.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.15.0 hooks: - id: mypy name: python mypy @@ -15,7 +15,7 @@ repos: pass_filenames: false args: ["python"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 + rev: v0.11.11 hooks: - id: ruff name: ruff From 68b7a7c8fa4cd76d41a921d6004adabf28a2b239 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 May 2025 17:08:29 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/tests/test_kwargs_parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_kwargs_parameters.py b/python/tests/test_kwargs_parameters.py index 885e99f9..4d92daec 100644 --- a/python/tests/test_kwargs_parameters.py +++ b/python/tests/test_kwargs_parameters.py @@ -77,6 +77,6 @@ async def test_failed_no_parameter( async with psql_pool.acquire() as conn: with pytest.raises(expected_exception=PyToRustValueMappingError): await conn.execute( - querystring=(f"SELECT * FROM {table_name} " "WHERE name = $(name)p"), # noqa: ISC001 + querystring=(f"SELECT * FROM {table_name} WHERE name = $(name)p"), # noqa: ISC001 parameters={"mistake": "wow"}, )