Skip to content

Add harmony-py as a dependency #157

Add harmony-py as a dependency

Add harmony-py as a dependency #157

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

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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#L1028
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#L1033
"object" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
test
6 errors