From 067473e9c5e7d7153dbd44cdb98435803f1fbcbf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Aug 2025 21:29:19 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 24.8.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...25.1.0) - [github.com/adamchainz/blacken-docs: 1.18.0 → 1.19.1](https://github.com/adamchainz/blacken-docs/compare/1.18.0...1.19.1) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.12.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.12.10) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.17.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.17.1) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) - [github.com/shellcheck-py/shellcheck-py: v0.10.0.1 → v0.11.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.10.0.1...v0.11.0.1) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4da06c3..9c823ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,18 +4,18 @@ ci: repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: "24.8.0" + rev: "25.1.0" hooks: - id: black-jupyter - repo: https://github.com/adamchainz/blacken-docs - rev: "1.18.0" + rev: "1.19.1" hooks: - id: blacken-docs additional_dependencies: [black==23.10.0] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v6.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -45,13 +45,13 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.5" + rev: "v0.12.10" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.11.2" + rev: "v1.17.1" hooks: - id: mypy files: src|tests @@ -62,12 +62,12 @@ repos: - scikit-build-core[pyproject] - repo: https://github.com/codespell-project/codespell - rev: "v2.3.0" + rev: "v2.4.1" hooks: - id: codespell - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.10.0.1" + rev: "v0.11.0.1" hooks: - id: shellcheck From 845a5b50e37f82c3e19ed1ba1222db61ef39d141 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Aug 2025 21:29:41 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/scikit_build_cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scikit_build_cli/__init__.py b/src/scikit_build_cli/__init__.py index fa03fc1..e6ee7ab 100644 --- a/src/scikit_build_cli/__init__.py +++ b/src/scikit_build_cli/__init__.py @@ -6,4 +6,4 @@ # Load and expose the main CLI interface from .main import skbuild -__all__: list[str] = ["skbuild", "__version__"] +__all__: list[str] = ["__version__", "skbuild"]