Skip to content

Commit 0ba10fc

Browse files
chore(deps): update pre-commit hooks (#495)
* chore(deps): update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.9](astral-sh/ruff-pre-commit@v0.3.7...v0.4.9) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0) * style: apply one suggestion Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent b587f62 commit 0ba10fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

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

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: "v0.3.7"
21+
rev: "v0.4.9"
2222
hooks:
2323
- id: ruff
2424
args: [--fix, --show-fixes]
2525

2626
- repo: https://github.com/pre-commit/mirrors-mypy
27-
rev: "v1.9.0"
27+
rev: "v1.10.0"
2828
hooks:
2929
- id: mypy
3030
files: ^(src|scripts)

tests/test_cmake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_cmake_https(tmpdir):
5151
"""
5252
))
5353

54-
_run("cmake", ["-DTMP_DIR:PATH=%s" % str(tmpdir), "-P", str(test_script)])
54+
_run("cmake", [f"-DTMP_DIR:PATH={tmpdir}", "-P", str(test_script)])
5555

5656

5757
def _get_scripts():

0 commit comments

Comments
 (0)