Skip to content

Commit 58c6ad0

Browse files
committed
#100 Remove unnecessary "type: ignore" comments
1 parent e75f68e commit 58c6ad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas_dataclasses/core/typing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
# dependencies
2323
import pandas as pd
24-
from pandas.api.types import pandas_dtype # type: ignore
24+
from pandas.api.types import pandas_dtype
2525
from typing_extensions import (
2626
Annotated,
2727
Literal,
@@ -151,7 +151,7 @@ def get_dtype(tp: Any) -> Optional[str]:
151151
if get_origin(dtype) is Literal:
152152
dtype = get_args(dtype)[0]
153153

154-
return pandas_dtype(dtype).name # type: ignore
154+
return pandas_dtype(dtype).name
155155

156156

157157
def get_name(tp: Any, default: Hashable = None) -> Hashable:

0 commit comments

Comments
 (0)