From 7cbb7e6a40a3051c6bc4a60c96d27bbd76a510b7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:14:49 +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/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.15) - [github.com/tox-dev/pyproject-fmt: v2.21.2 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) - [github.com/woodruffw/zizmor-pre-commit: v1.24.1 → v1.25.2](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.24.1...v1.25.2) --- .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 206c29c..4c14f94 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.15.15 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -62,12 +62,12 @@ repos: - id: nb-strip-paths - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.2 + rev: v2.23.0 hooks: - id: pyproject-fmt - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.24.1 + rev: v1.25.2 hooks: - id: zizmor From 47f0f39f1d254be6bfbcea47a224950aa86cc259 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:15:34 +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 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ca002bb..27a3790 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,18 +35,18 @@ packages = [ "ctd", ] include-package-data = true -license-files = [ - "LICENSE.txt", -] dynamic.dependencies = { file = [ "requirements.txt", ] } dynamic.readme = { file = "README.md", content-type = "text/markdown" } +license-files = [ + "LICENSE.txt", +] [tool.setuptools_scm] +tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" write_to = "ctd/_version.py" write_to_template = "__version__ = '{version}'" -tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" [tool.ruff] target-version = "py39" @@ -66,30 +66,30 @@ per-file-ignores."docs/source/conf.py" = [ "A001", # builtin-variable-shadowing ] -[tool.check-manifest] -ignore = [ - "*.yml", - ".coveragerc", - "docs", - "docs/*", - "notebooks", - "notebooks/*", - "tests", - "tests/*", -] - [tool.interrogate] +fail-under = 95 ignore-init-method = true ignore-init-module = false ignore-magic = false ignore-semiprivate = false ignore-private = false ignore-module = false -fail-under = 95 exclude = [ "docs", "tests", ] +color = true verbose = 1 quiet = false -color = true + +[tool.check-manifest] +ignore = [ + "*.yml", + ".coveragerc", + "docs", + "docs/*", + "notebooks", + "notebooks/*", + "tests", + "tests/*", +]