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 @@ -29,7 +29,7 @@ test = ["pytest>=8.0"]

# ruff is pinned exactly because `poe generate` formats generated output with it,
# so an unpinned bump would churn committed bytes and fail the drift gate.
tooling = ["poethepoet>=0.30", "ruff==0.16.10"]
tooling = ["poethepoet>=0.30", "ruff==0.17.0"]

lint = [
{include-group = "tooling"},
Expand Down
2 changes: 1 addition & 1 deletion tests/gemara/v1/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_every_model_narrows_its_metadata_type() -> None:
"""Dispatch depends on each model's narrowed metadata type."""
for name, model in DOCUMENT_TYPES.items():
metadata = model.model_fields["metadata"].annotation
assert metadata is not None
assert isinstance(metadata, type), name
assert metadata.__name__ == f"{name}Metadata", name
assert issubclass(metadata, Metadata), name

Expand Down
Loading
Loading