Skip to content

Add harmony-py as a dependency #154

Add harmony-py as a dependency

Add harmony-py as a dependency #154

Triggered via pull request November 13, 2024 21:30
Status Failure
Total duration 1m 27s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
test: icepyx/core/APIformatting.py#L41
Type "str" is not assignable to declared type "HarmonyTemporal"   "str" is not assignable to "HarmonyTemporal" (reportAssignmentType)
test: icepyx/core/harmony.py#L2
"NotRequired" is unknown import symbol (reportAttributeAccessIssue)
test: icepyx/core/harmony.py#L49
Argument of type "BBox | None" cannot be assigned to parameter "spatial" of type "BBox | WKT" in function "__init__"   Type "BBox | None" is not assignable to type "BBox | WKT"     Type "None" is not assignable to type "BBox | WKT"       "None" is not assignable to "BBox"       "None" is not assignable to "WKT" (reportArgumentType)
test: icepyx/core/harmony.py#L49
Argument of type "HarmonyTemporal | None" cannot be assigned to parameter "temporal" of type "Mapping[str, datetime]" in function "__init__"   Type "HarmonyTemporal | None" is not assignable to type "Mapping[str, datetime]"     "HarmonyTemporal" is not assignable to "Mapping[str, datetime]"       Type parameter "_VT_co@Mapping" is covariant, but "object" is not a subtype of "datetime"         "object" is not assignable to "datetime" (reportArgumentType)
test: icepyx/core/query.py#L1093
Argument of type "object" cannot be assigned to parameter "obj" of type "Sized" in function "len"   "object" is incompatible with protocol "Sized"     "__len__" is not present (reportArgumentType)
test: icepyx/core/query.py#L1098
"object" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
test: icepyx/core/query.py#L1100
Cannot access attribute "place_subset_order" for class "Granules"   Attribute "place_subset_order" is unknown (reportAttributeAccessIssue)
test: icepyx/core/query.py#L1107
Cannot access attribute "place_subset_order" for class "Granules"   Attribute "place_subset_order" is unknown (reportAttributeAccessIssue)
test
8 errors