Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ numpy = ["numpy==2.5.4"]
# absent. The full suite (coverage.yaml) runs on a target that has a wheel.
proptest = ["hypothesis==6.169.0"]
# Type checkers and linters (no build needed; they check the source and stub).
typing = ["mypy==2.4.0", "ty==0.0.84"]
typing = ["mypy==2.4.0", "ty==0.0.86"]
lint = ["ruff==0.17.0", "codespell==2.4.3", "zizmor==1.30.1"]
# Continuous performance testing (bench/test_benchmarks.py, run by CodSpeed).
codspeed = [{ include-group = "test" }, "pytest-codspeed==5.0.3"]
Expand Down
4 changes: 2 additions & 2 deletions pysrc/yamlrocks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import contextlib
import os
from collections.abc import Callable, Iterator
from collections.abc import Callable, Generator
from typing import Any

from yamlrocks._yamlrocks import (
Expand Down Expand Up @@ -424,7 +424,7 @@ def _read_source(source: Any) -> tuple[bytes | str, str | None]:


@contextlib.contextmanager
def _origin(path: str | None) -> Iterator[None]:
def _origin(path: str | None) -> Generator[None]:
"""Tag any raised ``YAMLRocksError`` with the source file when it has none.

The Rust core only sees bytes, so it cannot know the path a file was read
Expand Down
42 changes: 21 additions & 21 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading