Skip to content

Commit 0627b9d

Browse files
chore(deps): update pre-commit hooks (#614)
* chore(deps): update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.1](astral-sh/ruff-pre-commit@v0.11.13...v0.12.1) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.16.1](pre-commit/mirrors-mypy@v1.16.0...v1.16.1) * Update pyproject.toml * ci: move to windows-2022 windows-2019 has been removed --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mayeut <[email protected]>
1 parent bd330b8 commit 0627b9d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ jobs:
9292
arch: "armv7l"
9393
build: "musllinux_"
9494
use_qemu: false
95-
- os: windows-2019
95+
- os: windows-2022
9696
arch: "AMD64"
9797
build: ""
9898
use_qemu: false
9999
- os: windows-2022
100100
arch: "ARM64"
101101
build: ""
102102
use_qemu: false
103-
- os: windows-2019
103+
- os: windows-2022
104104
arch: "x86"
105105
build: ""
106106
use_qemu: false

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ repos:
1717
- id: trailing-whitespace
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: "v0.11.13"
20+
rev: "v0.12.1"
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --show-fixes]
2424

2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: "v1.16.0"
26+
rev: "v1.16.1"
2727
hooks:
2828
- id: mypy
2929
files: ^(src|scripts)

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ exclude = ["src/cmake/_version.py"]
187187
flake8-unused-arguments.ignore-variadic-names = true
188188

189189
[tool.ruff.lint.per-file-ignores]
190+
"_build_backend/backend.py" = ["PLC0415"]
190191
"docs/conf.py" = ["E402"]
191192
"*.pyi" = ["ARG001"]
192193
"noxfile.py" = ["PLW0603"]

0 commit comments

Comments
 (0)