diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aeff3f9..d27c2bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: exclude: "^packages/.*/(meta.yaml|logo\\..*)$" # scripts - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.0 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] @@ -53,7 +53,7 @@ repos: - id: ruff-format files: ^scripts/.*$ - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.12.1 + rev: v2.14.2 hooks: - id: pyproject-fmt - repo: https://github.com/camptocamp/jsonschema-gentypes diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index 766b804..8c30558 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -1,6 +1,5 @@ [build-system] build-backend = "hatchling.build" - requires = [ "hatch-vcs", "hatchling" ] [project] @@ -29,19 +28,16 @@ dependencies = [ "pyyaml", "rich", ] - urls.Documentation = "https://github.com/scverse/ecosystem-packages#readme" urls.Issues = "https://github.com/scverse/ecosystem-packages/issues" urls.Source = "https://github.com/scverse/ecosystem-packages" scripts.register-template-repos = "ecosystem_scripts.template_repo_registry:main" scripts.validate-registry = "ecosystem_scripts.validate_registry:main" -[tool.hatch.envs.default] -python = "3.13" - -[tool.hatch.version] -source = "vcs" -fallback-version = "0.0" +[tool.hatch] +envs.default.python = "3.13" +version.source = "vcs" +version.fallback-version = "0.0" [tool.ruff] line-length = 120 @@ -72,7 +68,7 @@ lint.select = [ "W", "YTT", ] -lint.ignore = [ ] +lint.ignore = [] [tool.mypy] strict = true