diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc85bcfb..014c43d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: exclude: "^tests" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.3 + rev: v0.14.3 hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -131,12 +131,12 @@ repos: additional_dependencies: ["cogapp>=3.5"] - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2025.10.03 + rev: 2025.11.02 hooks: - id: validate-pyproject - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.34.0 + rev: 0.34.1 hooks: - id: check-dependabot - id: check-github-workflows @@ -150,6 +150,6 @@ repos: - id: validate-cff - repo: https://github.com/scientific-python/cookie - rev: 2025.10.01 + rev: 2025.10.20 hooks: - id: sp-repo-review diff --git a/noxfile.py b/noxfile.py old mode 100644 new mode 100755 index 39f0e6e7..f28d5fff --- a/noxfile.py +++ b/noxfile.py @@ -1,3 +1,9 @@ +#!/usr/bin/env -S uv run --script + +# /// script +# dependencies = ["nox>=2024.4.15"] +# /// + """ Scikit-build-core's nox configuration. @@ -339,3 +345,7 @@ def vendor_pyproject_metadata(session: nox.Session) -> None: ) as response: txt = response.read() local_path.write_bytes(txt) + + +if __name__ == "__main__": + nox.main()