Skip to content

Commit f2711d3

Browse files
committed
style(ruff): use collections.abc Mapping in provenance module
Why: - CI Ruff step flagged UP035 for typing imports. What changed: - Switched Mapping import from typing to collections.abc. - Kept Any imported from typing. Expected impact: - Eliminates Ruff error with no behavioral change.
1 parent 5eab11e commit f2711d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/refua_data/provenance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
from __future__ import annotations
44

5+
from collections.abc import Mapping
56
from pathlib import Path
6-
from typing import Any, Mapping
7+
from typing import Any
78

89

910
def load_materialized_manifest(manifest_path: Path) -> dict[str, Any]:

0 commit comments

Comments
 (0)