Skip to content

Commit ac9ad0f

Browse files
chore: update pre-commit hooks (#10)
* chore: update pre-commit hooks updates: - [github.com/psf/black-pre-commit-mirror: 23.10.0 → 24.4.2](psf/black-pre-commit-mirror@23.10.0...24.4.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.3...v4.0.0-alpha.8) - [github.com/astral-sh/ruff-pre-commit: v0.1.0 → v0.4.2](astral-sh/ruff-pre-commit@v0.1.0...v0.4.2) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.10.0](pre-commit/mirrors-mypy@v1.6.1...v1.10.0) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.10.0.1](shellcheck-py/shellcheck-py@v0.9.0.6...v0.10.0.1) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ac6fdfc commit ac9ad0f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.pre-commit-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/psf/black-pre-commit-mirror
7-
rev: "23.10.0"
7+
rev: "24.4.2"
88
hooks:
99
- id: black-jupyter
1010

@@ -15,7 +15,7 @@ repos:
1515
additional_dependencies: [black==23.10.0]
1616

1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: "v4.5.0"
18+
rev: "v4.6.0"
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-case-conflict
@@ -38,20 +38,20 @@ repos:
3838
- id: rst-inline-touching-normal
3939

4040
- repo: https://github.com/pre-commit/mirrors-prettier
41-
rev: "v3.0.3"
41+
rev: "v4.0.0-alpha.8"
4242
hooks:
4343
- id: prettier
4444
types_or: [yaml, markdown, html, css, scss, javascript, json]
4545
args: [--prose-wrap=always]
4646

4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: "v0.1.0"
48+
rev: "v0.4.2"
4949
hooks:
5050
- id: ruff
5151
args: ["--fix", "--show-fixes"]
5252

5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: "v1.6.1"
54+
rev: "v1.10.0"
5555
hooks:
5656
- id: mypy
5757
files: src|tests
@@ -67,7 +67,7 @@ repos:
6767
- id: codespell
6868

6969
- repo: https://github.com/shellcheck-py/shellcheck-py
70-
rev: "v0.9.0.6"
70+
rev: "v0.10.0.1"
7171
hooks:
7272
- id: shellcheck
7373

src/scikit_build_cli/main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class LazyGroup(click.Group):
2525
def __init__(
2626
self,
2727
name: str | None = None,
28-
commands: MutableMapping[str, click.Command]
29-
| Sequence[click.Command]
30-
| None = None,
28+
commands: (
29+
MutableMapping[str, click.Command] | Sequence[click.Command] | None
30+
) = None,
3131
*,
3232
lazy_subcommands: Sequence[EntryPoint] = (),
3333
**kwargs: object,

0 commit comments

Comments
 (0)