From cac731a9b95e296b0b403fe52ae9935901a2f553 Mon Sep 17 00:00:00 2001 From: Leon Luttenberger Date: Mon, 18 Dec 2023 13:00:34 -0600 Subject: [PATCH] fix python 3.8 static check --- awswrangler/distributed/ray/modin/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awswrangler/distributed/ray/modin/_core.py b/awswrangler/distributed/ray/modin/_core.py index a7e5379fd..c88aa7cb4 100644 --- a/awswrangler/distributed/ray/modin/_core.py +++ b/awswrangler/distributed/ray/modin/_core.py @@ -27,7 +27,7 @@ def _validate_partition_shape(df: pd.DataFrame) -> bool: """ # Unwrap partitions as they are currently stored (axis=None) partitions_shape = np.array(unwrap_partitions(df)).shape - return partitions_shape[1] == 1 # type: ignore[no-any-return] + return partitions_shape[1] == 1 # type: ignore[no-any-return,unused-ignore] FunctionType = TypeVar("FunctionType", bound=Callable[..., Any])