Skip to content

Commit 2123a96

Browse files
vaibhavhrtWillAyd
authored andcommitted
Fix type annotation for pandas.core.indexes.base (#26371)
1 parent a6e43a4 commit 2123a96

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

mypy.ini

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ follow_imports=silent
55
[mypy-pandas.conftest,pandas.tests.*]
66
ignore_errors=True
77

8-
[mypy-pandas.core.indexes.base]
9-
ignore_errors=True
10-
118
[mypy-pandas.core.indexes.datetimelike]
129
ignore_errors=True
1310

pandas/core/indexes/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
import numpy as np
88

9-
from pandas._libs import (
10-
algos as libalgos, index as libindex, join as libjoin, lib)
9+
from pandas._libs import algos as libalgos, index as libindex, lib
10+
import pandas._libs.join as libjoin
1111
from pandas._libs.lib import is_datetime_array
1212
from pandas._libs.tslibs import OutOfBoundsDatetime, Timedelta, Timestamp
1313
from pandas._libs.tslibs.timezones import tz_compare

0 commit comments

Comments
 (0)