From e84b7c22dcb9df3c7647f709781a5a224d3f2e8f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 19:48:27 +0000 Subject: [PATCH 1/2] 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.16.2 → v2.21.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.16.2...v2.21.1) - [github.com/psf/black-pre-commit-mirror: 26.1.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/26.1.0...26.3.1) - [github.com/pycqa/isort: 8.0.1 → 9.0.0a3](https://github.com/pycqa/isort/compare/8.0.1...9.0.0a3) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v1.20.2) --- .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 7b688e2..9a1c3a1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.16.2 + rev: v2.21.1 hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt @@ -47,7 +47,7 @@ repos: - id: django-upgrade args: [--target-version, '3.2'] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 26.1.0 + rev: 26.3.1 hooks: - id: black - repo: https://github.com/adamchainz/blacken-docs @@ -57,12 +57,12 @@ repos: additional_dependencies: - black==23.1.0 - repo: https://github.com/pycqa/isort - rev: 8.0.1 + rev: 9.0.0a3 hooks: - id: isort name: isort (python) - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.2 hooks: - id: mypy additional_dependencies: From e8a31ea11d262f21ea6c25b3cfdac9b784fd48dc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 19:49:04 +0000 Subject: [PATCH 2/2] ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci --- pyproject.toml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 241f61e..3686b75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,18 @@ profile = "black" [tool.pyproject-fmt] max_supported_python = "3.13" +[tool.mypy] +enable_error_code = [ + "ignore-without-code", + "redundant-expr", + "truthy-bool", +] +mypy_path = "src/" +namespace_packages = false +strict = true +warn_unreachable = true +overrides = [ { module = "tests.*", allow_untyped_defs = true } ] + [tool.pytest] ini_options.addopts = """\ --strict-config @@ -77,17 +89,5 @@ paths.source = [ ] report.show_missing = true -[tool.mypy] -enable_error_code = [ - "ignore-without-code", - "redundant-expr", - "truthy-bool", -] -mypy_path = "src/" -namespace_packages = false -strict = true -warn_unreachable = true -overrides = [ { module = "tests.*", allow_untyped_defs = true } ] - [tool.rstcheck] report_level = "ERROR"