diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1180de..a931931 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,21 +14,21 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/adamchainz/django-upgrade - rev: 1.29.1 + rev: 1.30.0 hooks: - id: django-upgrade args: [--target-version, "3.2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.6 + rev: v0.15.9 hooks: - id: ruff args: [--unsafe-fixes] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.21.0 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.24.1 + rev: v0.25 hooks: - id: validate-pyproject diff --git a/pyproject.toml b/pyproject.toml index 0ccb3f6..6a18835 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,12 +40,11 @@ optional-dependencies.tests = [ ] urls.Homepage = "https://github.com/matthiask/feincms3-data/" -[tool.hatch.version] -path = "feincms3_data/__init__.py" +[tool.hatch] +version.path = "feincms3_data/__init__.py" [tool.ruff] target-version = "py310" - fix = true show-fixes = true lint.extend-select = [