diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py index b657d8d16df81..1ac6370860ba6 100644 --- a/pandas/tests/indexes/common.py +++ b/pandas/tests/indexes/common.py @@ -1,4 +1,5 @@ import gc +from typing import Optional, Type import numpy as np import pytest @@ -30,7 +31,7 @@ class Base: """ base class for index sub-class tests """ - _holder = None + _holder = None # type: Optional[Type[Index]] _compat_props = ["shape", "ndim", "size", "nbytes"] def test_pickle_compat_construction(self): diff --git a/setup.cfg b/setup.cfg index f7920fb61b942..d4657100c1291 100644 --- a/setup.cfg +++ b/setup.cfg @@ -148,33 +148,12 @@ ignore_errors=True [mypy-pandas.tests.extension.json.test_json] ignore_errors=True -[mypy-pandas.tests.indexes.datetimes.test_datetimelike] -ignore_errors=True - -[mypy-pandas.tests.indexes.interval.test_base] -ignore_errors=True - [mypy-pandas.tests.indexes.interval.test_interval_tree] ignore_errors=True -[mypy-pandas.tests.indexes.period.test_period] -ignore_errors=True - [mypy-pandas.tests.indexes.test_base] ignore_errors=True -[mypy-pandas.tests.indexes.test_category] -ignore_errors=True - -[mypy-pandas.tests.indexes.test_numeric] -ignore_errors=True - -[mypy-pandas.tests.indexes.test_range] -ignore_errors=True - -[mypy-pandas.tests.indexes.timedeltas.test_timedelta] -ignore_errors=True - [mypy-pandas.tests.indexing.test_loc] ignore_errors=True