Skip to content

Add harmony-py as a dependency #150

Add harmony-py as a dependency

Add harmony-py as a dependency #150

Triggered via pull request November 13, 2024 18:45
Status Failure
Total duration 1m 31s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 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#L50
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#L51
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
4 errors