Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: "23.10.0"
rev: "24.4.2"
hooks:
- id: black-jupyter

Expand All @@ -15,7 +15,7 @@ repos:
additional_dependencies: [black==23.10.0]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
rev: "v4.6.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -38,20 +38,20 @@ repos:
- id: rst-inline-touching-normal

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.0"
rev: "v0.4.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.10.0"
hooks:
- id: mypy
files: src|tests
Expand All @@ -67,7 +67,7 @@ repos:
- id: codespell

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.9.0.6"
rev: "v0.10.0.1"
hooks:
- id: shellcheck

Expand Down
6 changes: 3 additions & 3 deletions src/scikit_build_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class LazyGroup(click.Group):
def __init__(
self,
name: str | None = None,
commands: MutableMapping[str, click.Command]
| Sequence[click.Command]
| None = None,
commands: (
MutableMapping[str, click.Command] | Sequence[click.Command] | None
) = None,
*,
lazy_subcommands: Sequence[EntryPoint] = (),
**kwargs: object,
Expand Down