diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4334a74..fd4308c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,11 +19,11 @@ repos: hooks: - id: tox-toml-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.2" + rev: "v2.23.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.14" + rev: "v0.15.15" hooks: - id: ruff-format - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 07382d1..94e5ffc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,12 +73,12 @@ pkg-meta = [ ] [tool.hatch] +version.source = "vcs" build.hooks.vcs.version-file = "src/sphinx_argparse_cli/version.py" build.targets.sdist.include = [ "/src", "/tests", ] -version.source = "vcs" [tool.black] line-length = 120