diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb895c4..7124edc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.9 + rev: v0.15.20 hooks: - id: ruff-check args: [--exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 26.3.1 + rev: 26.5.1 hooks: - id: black @@ -22,7 +22,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.37.1 + rev: 0.37.4 hooks: - id: check-dependabot - id: check-github-workflows @@ -33,12 +33,12 @@ repos: - id: actionlint - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.23.1 + rev: v1.26.1 hooks: - id: zizmor - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.0 + rev: v2.25.1 hooks: - id: pyproject-fmt diff --git a/pyproject.toml b/pyproject.toml index 897ff85..7b81c4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,11 +38,11 @@ urls.Homepage = "https://github.com/python/python-docs-theme/" entry-points."sphinx.html_themes".python_docs_theme = "python_docs_theme" [tool.hatch] +version.path = "python_docs_theme/__init__.py" build.artifacts = [ "python_docs_theme/locale/**/*.mo" ] build.hooks.custom.path = "babel_runner.py" build.targets.wheel.packages = [ "python_docs_theme" ] build.targets.wheel.exclude = [ "python_docs_theme/locale/**/*.po" ] -version.path = "python_docs_theme/__init__.py" [tool.ruff] fix = true