File tree Expand file tree Collapse file tree 2 files changed +33
-6
lines changed Expand file tree Collapse file tree 2 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,37 @@ ignore_errors=True
8
8
[mypy-pandas.core.api]
9
9
ignore_errors =True
10
10
11
- [mypy-pandas.core.indexes.base]
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
+
32
+ [mypy-pandas.core.computation.expr]
12
33
ignore_errors =True
13
34
14
- [mypy-pandas.core.indexes.datetimelike]
35
+ [mypy-pandas.core.computation.ops]
36
+ ignore_errors =True
37
+
38
+ [mypy-pandas.core.computation.pytables]
39
+ ignore_errors =True
40
+
41
+ [mypy-pandas.core.indexes.base]
15
42
ignore_errors =True
16
43
17
44
[mypy-pandas.core.indexes.datetimes]
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