From 4002d76e0ce2b55b9c13349859b125a078520140 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 21:46:20 +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/crate-ci/typos: 672d45b4e77223b8fcf1b4b8560bf987f0839902 → 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf](https://github.com/crate-ci/typos/compare/672d45b4e77223b8fcf1b4b8560bf987f0839902...5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf) - [github.com/tox-dev/pyproject-fmt: 2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9 → 51905ea0435df7e0b1dacf8108081e6a14b620bd](https://github.com/tox-dev/pyproject-fmt/compare/2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9...51905ea0435df7e0b1dacf8108081e6a14b620bd) - [github.com/astral-sh/ruff-pre-commit: 45ef068da5f21267bb2a7ec4a623092959f09ce5 → a27a2e47c7751b639d2b5badf0ef6ff11fee893f](https://github.com/astral-sh/ruff-pre-commit/compare/45ef068da5f21267bb2a7ec4a623092959f09ce5...a27a2e47c7751b639d2b5badf0ef6ff11fee893f) --- .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 ffc4abd..51087b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,11 +17,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/crate-ci/typos - rev: 672d45b4e77223b8fcf1b4b8560bf987f0839902 # frozen: v1 + rev: 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf # frozen: v1 hooks: - id: typos - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9 # frozen: v2.12.1 + rev: 51905ea0435df7e0b1dacf8108081e6a14b620bd # frozen: v2.16.2 hooks: - id: pyproject-fmt - repo: https://github.com/tox-dev/tox-ini-fmt @@ -41,7 +41,7 @@ repos: additional_dependencies: - black==25.1.0 - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 45ef068da5f21267bb2a7ec4a623092959f09ce5 # frozen: v0.14.14 + rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4 hooks: - id: ruff-check args: [ --fix ] From 16ea12d3a9972c1b9809494ae5d3007ff666f004 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:02:01 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index acc3643..b483786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,29 +94,25 @@ lint.isort.required-imports = [ "from __future__ import annotations" ] [tool.pyproject-fmt] max_supported_python = "3.14" -[tool.pytest.ini_options] -addopts = """\ +[tool.pytest] +ini_options.addopts = """\ --strict-config --strict-markers """ -xfail_strict = true +ini_options.xfail_strict = true -[tool.coverage.paths] -source = [ - "src", - ".tox/**/site-packages", -] - -[tool.coverage.report] -show_missing = true - -[tool.coverage.run] -branch = true -parallel = true -source = [ +[tool.coverage] +run.branch = true +run.parallel = true +run.source = [ "pytest_randomly", "tests", ] +paths.source = [ + "src", + ".tox/**/site-packages", +] +report.show_missing = true [tool.mypy] enable_error_code = [ @@ -128,10 +124,7 @@ mypy_path = "src/" namespace_packages = false strict = true warn_unreachable = true - -[[tool.mypy.overrides]] -module = "tests.*" -allow_untyped_defs = true +overrides = [ { module = "tests.*", allow_untyped_defs = true } ] [tool.rstcheck] report_level = "ERROR"