Skip to content

Commit f77a81b

Browse files
committed
Remove unused ignore
1 parent cb1e59d commit f77a81b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pandas/core/missing.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,11 @@ def func(yvalues: np.ndarray) -> None:
412412
mask=mask,
413413
**kwargs,
414414
)
415-
# error: No overload variant of "apply_along_axis" matches
416-
# argument types "Callable[[ndarray[Any, Any]], None]",
417-
# "int", "ndarray[Any, Any]"
418-
np.apply_along_axis(func, axis, data) # type: ignore[call-overload]
415+
416+
# error: No overload variant of "apply_along_axis" matches
417+
# argument types "Callable[[ndarray[Any, Any]], None]",
418+
# "int", "ndarray[Any, Any]"
419+
np.apply_along_axis(func, axis, data) # type: ignore[call-overload]
419420

420421

421422
def _index_to_interp_indices(index: Index, method: str) -> np.ndarray:

pandas/io/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ def get_handle(
917917
encoding=ioargs.encoding,
918918
errors=errors,
919919
newline="",
920-
) # type: ignore[arg-type]
920+
)
921921
handles.append(handle)
922922
# only marked as wrapped when the caller provided a handle
923923
is_wrapped = not (

0 commit comments

Comments
 (0)