File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,5 @@ follow_imports=silent
5
5
[mypy-pandas.conftest,pandas.tests.*]
6
6
ignore_errors =True
7
7
8
- [mypy-pandas.core.indexes.datetimelike]
9
- ignore_errors =True
10
-
11
8
[mypy-pandas.core.indexes.period]
12
9
ignore_errors =True
Original file line number Diff line number Diff line change 3
3
"""
4
4
import operator
5
5
import warnings
6
+ from typing import Set
6
7
7
8
import numpy as np
8
9
@@ -69,7 +70,6 @@ class DatetimeIndexOpsMixin(ExtensionOpsMixin):
69
70
_resolution = cache_readonly (DatetimeLikeArrayMixin ._resolution .fget )
70
71
resolution = cache_readonly (DatetimeLikeArrayMixin .resolution .fget )
71
72
72
- _box_values = ea_passthrough (DatetimeLikeArrayMixin ._box_values )
73
73
_maybe_mask_results = ea_passthrough (
74
74
DatetimeLikeArrayMixin ._maybe_mask_results )
75
75
__iter__ = ea_passthrough (DatetimeLikeArrayMixin .__iter__ )
@@ -134,7 +134,7 @@ def values(self) -> np.ndarray:
134
134
# Note: PeriodArray overrides this to return an ndarray of objects.
135
135
return self ._data ._data
136
136
137
- @property
137
+ @property # type: ignore
138
138
@Appender (DatetimeLikeArrayMixin .asi8 .__doc__ )
139
139
def asi8 (self ):
140
140
return self ._data .asi8
@@ -758,9 +758,9 @@ class DatetimelikeDelegateMixin(PandasDelegate):
758
758
boxed in an index, after being returned from the array
759
759
"""
760
760
# raw_methods : dispatch methods that shouldn't be boxed in an Index
761
- _raw_methods = set ()
761
+ _raw_methods = set () # type: Set[str]
762
762
# raw_properties : dispatch properties that shouldn't be boxed in an Index
763
- _raw_properties = set ()
763
+ _raw_properties = set () # type: Set[str]
764
764
name = None
765
765
_data = None
766
766
You can’t perform that action at this time.
0 commit comments