From 99c7244d446282d665f456144f44013f42eea92c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Apr 2025 17:05:22 +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.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.11.6) --- .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 bef1e2c..8a7d884 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.6 hooks: - id: ruff name: ruff From ec24d4084a38dfa07141961d3bf3d032fd0c492a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Apr 2025 17:05:34 +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 d1fb1eb..b135e3c 100644 --- a/python/tests/test_kwargs_parameters.py +++ b/python/tests/test_kwargs_parameters.py @@ -68,6 +68,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"}, )