Skip to content

Commit fef73f3

Browse files
chore: update pre-commit hooks (#14)
* chore: update pre-commit hooks updates: - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.8.0](psf/black-pre-commit-mirror@24.4.2...24.8.0) - [github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.6.5](astral-sh/ruff-pre-commit@v0.4.2...v0.6.5) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.2](pre-commit/mirrors-mypy@v1.10.0...v1.11.2) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ac9ad0f commit fef73f3

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ci:
44

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

1111
- repo: https://github.com/adamchainz/blacken-docs
12-
rev: "1.16.0"
12+
rev: "1.18.0"
1313
hooks:
1414
- id: blacken-docs
1515
additional_dependencies: [black==23.10.0]
@@ -45,13 +45,13 @@ repos:
4545
args: [--prose-wrap=always]
4646

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

5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: "v1.10.0"
54+
rev: "v1.11.2"
5555
hooks:
5656
- id: mypy
5757
files: src|tests
@@ -62,7 +62,7 @@ repos:
6262
- scikit-build-core[pyproject]
6363

6464
- repo: https://github.com/codespell-project/codespell
65-
rev: "v2.2.6"
65+
rev: "v2.3.0"
6666
hooks:
6767
- id: codespell
6868

src/scikit_build_cli/commands/build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __dir__() -> list[str]:
1919
@click.command()
2020
@_build_dir
2121
@click.pass_context
22-
def build(ctx: click.Context, build_dir: Path) -> None: # noqa: ARG001
22+
def build(ctx: click.Context, build_dir: Path) -> None:
2323
"""
2424
Run cmake build step
2525
"""

src/scikit_build_cli/commands/configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __dir__() -> list[str]:
1919
@click.command()
2020
@_build_dir
2121
@click.pass_context
22-
def configure(ctx: click.Context, build_dir: Path) -> None: # noqa: ARG001
22+
def configure(ctx: click.Context, build_dir: Path) -> None:
2323
"""
2424
Run cmake configure step
2525
"""

src/scikit_build_cli/commands/dynamic_metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __dir__() -> list[str]:
1111

1212
@click.command()
1313
@click.pass_context
14-
def dynamic_metadata(ctx: click.Context) -> None: # noqa: ARG001
14+
def dynamic_metadata(ctx: click.Context) -> None:
1515
"""
1616
Get the generated dynamic metadata
1717
"""

src/scikit_build_cli/commands/install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __dir__() -> list[str]:
1919
@click.command()
2020
@_build_dir
2121
@click.pass_context
22-
def install(ctx: click.Context, build_dir: Path) -> None: # noqa: ARG001
22+
def install(ctx: click.Context, build_dir: Path) -> None:
2323
"""
2424
Run cmake install step
2525
"""

src/scikit_build_cli/commands/metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __dir__() -> list[str]:
1111

1212
@click.command()
1313
@click.pass_context
14-
def metadata(ctx: click.Context) -> None: # noqa: ARG001
14+
def metadata(ctx: click.Context) -> None:
1515
"""
1616
Write out the project's metadata
1717
"""

src/scikit_build_cli/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _lazy_load(self, cmd_name: str) -> click.Command:
7171
help="Path to the Python project's root",
7272
)
7373
@click.pass_context
74-
def skbuild(ctx: click.Context, root: pathlib.Path) -> None: # noqa: ARG001
74+
def skbuild(ctx: click.Context, root: pathlib.Path) -> None:
7575
"""
7676
scikit-build Main CLI interface
7777
"""

0 commit comments

Comments
 (0)