File tree Expand file tree Collapse file tree 2 files changed +25
-7
lines changed
Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,27 @@ ignore_errors=True
88[mypy-pandas.core.api]
99ignore_errors =True
1010
11+ [mypy-pandas.core.arrays.array_]
12+ ignore_errors =True
13+
14+ [mypy-pandas.core.arrays.datetimelik]
15+ ignore_errors =True
16+
17+ [mypy-pandas.core.arrays.integer]
18+ ignore_errors =True
19+
20+ [mypy-pandas.core.arrays.interval]
21+ ignore_errors =True
22+
23+ [mypy-pandas.core.arrays.period]
24+ ignore_errors =True
25+
26+ [mypy-pandas.core.arrays.timedeltas]
27+ ignore_errors =True
28+
29+ [mypy-pandas.core.base]
30+ ignore_errors =True
31+
1132[mypy-pandas.core.computation.expr]
1233ignore_errors =True
1334
@@ -20,9 +41,6 @@ ignore_errors=True
2041[mypy-pandas.core.indexes.base]
2142ignore_errors =True
2243
23- [mypy-pandas.core.indexes.datetimelike]
24- ignore_errors =True
25-
2644[mypy-pandas.core.indexes.datetimes]
2745ignore_errors =True
2846
Original file line number Diff line number Diff line change 33"""
44import operator
55import warnings
6+ from typing import Set
67
78import numpy as np
89
@@ -69,7 +70,6 @@ class DatetimeIndexOpsMixin(ExtensionOpsMixin):
6970 _resolution = cache_readonly (DatetimeLikeArrayMixin ._resolution .fget )
7071 resolution = cache_readonly (DatetimeLikeArrayMixin .resolution .fget )
7172
72- _box_values = ea_passthrough (DatetimeLikeArrayMixin ._box_values )
7373 _maybe_mask_results = ea_passthrough (
7474 DatetimeLikeArrayMixin ._maybe_mask_results )
7575 __iter__ = ea_passthrough (DatetimeLikeArrayMixin .__iter__ )
@@ -134,7 +134,7 @@ def values(self) -> np.ndarray:
134134 # Note: PeriodArray overrides this to return an ndarray of objects.
135135 return self ._data ._data
136136
137- @property
137+ @property # type: ignore
138138 @Appender (DatetimeLikeArrayMixin .asi8 .__doc__ )
139139 def asi8 (self ):
140140 return self ._data .asi8
@@ -758,9 +758,9 @@ class DatetimelikeDelegateMixin(PandasDelegate):
758758 boxed in an index, after being returned from the array
759759 """
760760 # raw_methods : dispatch methods that shouldn't be boxed in an Index
761- _raw_methods = set ()
761+ _raw_methods = set () # type: Set[str]
762762 # raw_properties : dispatch properties that shouldn't be boxed in an Index
763- _raw_properties = set ()
763+ _raw_properties = set () # type: Set[str]
764764 name = None
765765 _data = None
766766
You can’t perform that action at this time.
0 commit comments