diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ba50241..f0a4c16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,26 +14,26 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/adamchainz/django-upgrade - rev: 1.28.0 + rev: 1.30.0 hooks: - id: django-upgrade args: [--target-version, "4.2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.0" + rev: "v0.15.10" hooks: - id: ruff args: [--unsafe-fixes] - id: ruff-format - repo: https://github.com/biomejs/pre-commit - rev: "v2.2.4" + rev: "v2.4.11" hooks: - id: biome-check args: [--unsafe] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.6.0 + rev: v2.21.1 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 ef5db4c..ed8e0ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks", @@ -41,17 +42,14 @@ optional-dependencies.tests = [ ] urls.Homepage = "https://github.com/matthiask/django-admin-ordering/" -[tool.hatch.build] -include = [ +[tool.hatch] +build.include = [ "admin_ordering/", ] - -[tool.hatch.version] -path = "admin_ordering/__init__.py" +version.path = "admin_ordering/__init__.py" [tool.ruff] target-version = "py310" - fix = true show-fixes = true lint.extend-select = [