Skip to content

Commit fc013fe

Browse files
author
Hamish Downer
committed
suppress typing error - the tests exercise this and are happy
1 parent 582e86f commit fc013fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sortition_algorithms/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _structure_exception(obj: dict[str, Any], _: Any) -> Exception:
151151
# avoid circular import
152152
from sortition_algorithms.features import FeatureCollection
153153

154-
features = _converter.structure(obj.get("features", {}), FeatureCollection)
154+
features = _converter.structure(obj.get("features", {}), FeatureCollection) # type: ignore[type-abstract]
155155
output = _converter.structure(obj.get("all_lines", ["dummy"]), list[str])[1:]
156156
# We can't fully reconstruct this as it needs a FeatureCollection
157157
# Just create a basic SelectionMultilineError with the lines if available

0 commit comments

Comments
 (0)