From b250035da9071446e70be3951faf557c2c90dc0d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Apr 2025 20:52:42 +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 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.11.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.11.7) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.15.0) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4da06c3..8de765f 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: "v5.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.11.7" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.11.2" + rev: "v1.15.0" hooks: - id: mypy files: src|tests @@ -62,7 +62,7 @@ repos: - scikit-build-core[pyproject] - repo: https://github.com/codespell-project/codespell - rev: "v2.3.0" + rev: "v2.4.1" hooks: - id: codespell From 27cd5898f4ff3d9ca06a3764449873f9e111ab28 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Apr 2025 20:53:02 +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"]