Skip to content

Commit 358928c

Browse files
[pre-commit.ci] pre-commit autoupdate (#158)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Phil Schaf <flying-sheep@web.de>
1 parent 67525a4 commit 358928c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ repos:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: v0.15.8
8+
rev: v0.15.9
99
hooks:
1010
- id: ruff-check
1111
args: [--fix]
1212
- id: ruff-check
1313
args: [--preview, --select=CPY]
1414
- id: ruff-format
1515
- repo: https://github.com/tox-dev/pyproject-fmt
16-
rev: v2.20.0
16+
rev: v2.21.0
1717
hooks:
1818
- id: pyproject-fmt
1919
- repo: https://github.com/biomejs/pre-commit
20-
rev: v2.4.9
20+
rev: v2.4.10
2121
hooks:
2222
- id: biome-format
2323
- repo: https://github.com/kynan/nbstripout
2424
rev: "0.9.1"
2525
hooks:
2626
- id: nbstripout
2727
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: v1.19.1
28+
rev: v1.20.0
2929
hooks:
3030
- id: mypy
3131
args: []

tests/test_synthetic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_markdown(
9494
) -> None:
9595
user_globals = {re.split(r"[.:]", p)[-1]: import_path(p) for p in imports}
9696

97-
si = SessionInfo(pkg2dists | dep2dists, user_globals)
97+
si = SessionInfo(pkg2dists | dep2dists, user_globals) # type: ignore[operator] # https://github.com/python/mypy/issues/21141
9898
parts = _repr.repr_markdown(si).split("\n\n")
9999
pkg_str: str | None
100100
dep_str: str | None

0 commit comments

Comments
 (0)