From b258b1b78fe532a2584c298bf30828eaeea2ad53 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:56:31 +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/lorenzwalthert/precommit: v0.4.3.9020 → v0.4.3.9021](https://github.com/lorenzwalthert/precommit/compare/v0.4.3.9020...v0.4.3.9021) - [github.com/tox-dev/pyproject-fmt: v2.16.1 → v2.20.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.16.1...v2.20.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.1 → v0.15.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.1...v0.15.7) --- .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 b6a370da..cc849199 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9020 + rev: v0.4.3.9021 hooks: - id: parsable-R - id: no-browser-statement @@ -50,14 +50,14 @@ repos: - id: tox-ini-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.16.1 + rev: v2.20.0 hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.12.1"] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.15.1 + rev: v0.15.7 hooks: # Run the formatter. - id: ruff-format From 138baf606f079ee234cbf07f037a3d2af7a3963f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:57:07 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/pyproject.toml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 8cd4ea74..83236c2e 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -190,19 +190,6 @@ expand_tables = [ "project.urls", "project.optional-dependencies" ] # List of tables to force collapse regardless of table_format or expand_tables settings collapse_tables = [ "project.authors" ] -[tool.pytest.ini_options] -faulthandler_timeout = 10 -doctest_optionflags = "NUMBER" -addopts = [ "--import-mode=importlib", "--durations=5", "--durations-min=1.0" ] - -[tool.coverage.report] -exclude_also = [ - ".*(?:#|//)\\s+nocov", - ".* ASSUME\\s?\\(.+\\);", - ".* unreachable\\s?\\(\\);", - ".*(?:GCOVR?|LCOV)_EXCL_LINE", -] - [tool.mypy] python_version = "3.11" # Strictness (recommended for library code) @@ -221,6 +208,19 @@ warn_unused_configs = true ignore_missing_imports = true files = [ "src/" ] +[tool.pytest.ini_options] +faulthandler_timeout = 10 +doctest_optionflags = "NUMBER" +addopts = [ "--import-mode=importlib", "--durations=5", "--durations-min=1.0" ] + +[tool.coverage.report] +exclude_also = [ + ".*(?:#|//)\\s+nocov", + ".* ASSUME\\s?\\(.+\\);", + ".* unreachable\\s?\\(\\);", + ".*(?:GCOVR?|LCOV)_EXCL_LINE", +] + [tool.gcovr] exclude-lines-by-pattern = [ ".*(?:#|//)\\s+nocov",