diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e6e4f8..d9325d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: trailing-whitespace - id: no-commit-to-branch - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.13 + rev: v0.14.14 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -14,7 +14,7 @@ repos: args: [--preview, --select=CPY] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.12.1 hooks: - id: pyproject-fmt - repo: https://github.com/biomejs/pre-commit diff --git a/pyproject.toml b/pyproject.toml index f7d5a2f..60fa867 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,18 +66,6 @@ mypy = [ { include-group = "test" }, ] -[tool.hatch.version] -source = "vcs" -raw-options = { local_scheme = "no-local-version" } # be able to publish dev version - -[tool.hatch.metadata.hooks.fancy-pypi-readme] -content-type = "text/x-rst" -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -path = "README.rst" -start-after = ".. begin" - -[tool.hatch.metadata.hooks.docstring-description] - [tool.hatch.build.targets.wheel] packages = [ "src/testing", "src/fast_array_utils" ] @@ -118,6 +106,18 @@ python = [ "3.12" ] extras = [ "full" ] resolution = [ "lowest" ] +[tool.hatch.metadata.hooks.docstring-description] + +[tool.hatch.metadata.hooks.fancy-pypi-readme] +content-type = "text/x-rst" +[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] +path = "README.rst" +start-after = ".. begin" + +[tool.hatch.version] +source = "vcs" +raw-options = { local_scheme = "no-local-version" } # be able to publish dev version + [tool.uv] override-dependencies = [ "sphinx>=9.0.1" ]