|
| 1 | +from typing import List |
| 2 | + |
1 | 3 | import pandas as pd |
2 | 4 | from pandas import api, compat |
3 | 5 | from pandas.util import testing as tm |
@@ -41,7 +43,7 @@ class TestPDApi(Base): |
41 | 43 | ] |
42 | 44 |
|
43 | 45 | # these are already deprecated; awaiting removal |
44 | | - deprecated_modules = [] |
| 46 | + deprecated_modules = [] # type: List[str] |
45 | 47 |
|
46 | 48 | # misc |
47 | 49 | misc = ["IndexSlice", "NaT"] |
@@ -92,10 +94,10 @@ class TestPDApi(Base): |
92 | 94 | classes.extend(["Panel", "SparseSeries", "SparseDataFrame"]) |
93 | 95 |
|
94 | 96 | # these are already deprecated; awaiting removal |
95 | | - deprecated_classes = [] |
| 97 | + deprecated_classes = [] # type: List[str] |
96 | 98 |
|
97 | 99 | # these should be deprecated in the future |
98 | | - deprecated_classes_in_future = [] |
| 100 | + deprecated_classes_in_future = [] # type: List[str] |
99 | 101 |
|
100 | 102 | # external modules exposed in pandas namespace |
101 | 103 | modules = ["np", "datetime"] |
@@ -171,10 +173,10 @@ class TestPDApi(Base): |
171 | 173 | funcs_to = ["to_datetime", "to_msgpack", "to_numeric", "to_pickle", "to_timedelta"] |
172 | 174 |
|
173 | 175 | # top-level to deprecate in the future |
174 | | - deprecated_funcs_in_future = [] |
| 176 | + deprecated_funcs_in_future = [] # type: List[str] |
175 | 177 |
|
176 | 178 | # these are already deprecated; awaiting removal |
177 | | - deprecated_funcs = [] |
| 179 | + deprecated_funcs = [] # type: List[str] |
178 | 180 |
|
179 | 181 | # private modules in pandas namespace |
180 | 182 | private_modules = [ |
|
0 commit comments