From be705d9f091788daafa7257f75f9b0002fde81fa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 16:59:53 +0000 Subject: [PATCH 1/2] chore(pre-commit.ci): pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: v2.21.0 → v2.21.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.0...v2.21.1) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8) - [github.com/astral-sh/ruff-pre-commit: v0.15.7 → v0.15.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.7...v0.15.10) - [github.com/pre-commit/mirrors-mypy: v1.20.0 → v1.20.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.20.0...v1.20.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d09a4ea..f812dab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.0" + rev: "v2.21.1" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/uv-pre-commit @@ -36,12 +36,12 @@ repos: hooks: - id: uv-lock - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.8 hooks: - id: prettier args: ["--tab-width", "2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.7 + rev: v0.15.10 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -51,7 +51,7 @@ repos: hooks: - id: codespell - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.0 + rev: v1.20.1 hooks: - id: mypy additional_dependencies: [] From bc042bed202cd3f0daa2d07d4a27a934dfc2abb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 17:02:06 +0000 Subject: [PATCH 2/2] chore(pre-commit.ci): auto fixes --- tests/test_dunder_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_dunder_main.py b/tests/test_dunder_main.py index f269da9..67fe04e 100644 --- a/tests/test_dunder_main.py +++ b/tests/test_dunder_main.py @@ -4,7 +4,7 @@ def test_can_run_as_python_module(): """Run the CLI as a Python module.""" - result = subprocess.run( # noqa: S603 + result = subprocess.run( [sys.executable, "-m", "decryptpdf", "--help"], check=True, capture_output=True,