diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10da405..ec35a9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.9 + rev: v0.15.10 hooks: - id: ruff-check args: [--fix] @@ -13,11 +13,11 @@ repos: args: [--preview, --select=CPY] - id: ruff-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.0 + rev: v2.21.1 hooks: - id: pyproject-fmt - repo: https://github.com/biomejs/pre-commit - rev: v2.4.10 + rev: v2.4.11 hooks: - id: biome-format - repo: https://github.com/kynan/nbstripout @@ -25,7 +25,7 @@ repos: hooks: - id: nbstripout - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.0 + rev: v1.20.1 hooks: - id: mypy args: [] diff --git a/tests/test_synthetic.py b/tests/test_synthetic.py index 8fa3c0e..3cf8072 100644 --- a/tests/test_synthetic.py +++ b/tests/test_synthetic.py @@ -94,7 +94,7 @@ def test_markdown( ) -> None: user_globals = {re.split(r"[.:]", p)[-1]: import_path(p) for p in imports} - si = SessionInfo(pkg2dists | dep2dists, user_globals) # type: ignore[operator] # https://github.com/python/mypy/issues/21141 + si = SessionInfo(pkg2dists | dep2dists, user_globals) parts = _repr.repr_markdown(si).split("\n\n") pkg_str: str | None dep_str: str | None