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 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/*", +]