diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1ba029..aece2ed 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-check diff --git a/pyproject.toml b/pyproject.toml index 93f83f8..360f059 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,13 +103,13 @@ release = [ ] [tool.hatch] +version.source = "vcs" build.hooks.vcs.version-file = "src/platformdirs/version.py" build.targets.sdist.include = [ "/src", "/tests", "/tox.toml", ] -version.source = "vcs" [tool.ruff] line-length = 120