-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
MyPy CI Configuration #25844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MyPy CI Configuration #25844
Changes from 6 commits
28b3abc
a293c49
f831b88
604ae03
ec8e890
60d12bc
f2bc6d5
6316959
70e150c
c565d7d
b4a0e09
0c2d01c
724d1bf
a16e0b6
be7babb
134baab
eeb266e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[mypy] | ||
jreback marked this conversation as resolved.
Show resolved
Hide resolved
|
||
ignore_missing_imports=True | ||
follow_imports=silent | ||
|
||
[mypy-pandas.conftest,pandas.tests.*] | ||
ignore_errors=True |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pandas/core/arrays/base.py | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you add some comments here to indicate what this file is. Also can you add a small new doc section on typing (just a starter is good, can expand over time). on how to type / how to update this file etc. |
||
pandas/core/arrays/datetimes.py | ||
pandas/core/common.py | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. really wish this were a blacklist file :> |
||
pandas/core/dtypes/base.py |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1828,10 +1828,9 @@ def interpolate(self, method='pad', axis=0, inplace=False, limit=None, | |
placement=self.mgr_locs) | ||
|
||
def shift(self, | ||
periods, # type: int | ||
axis=0, # type: libinternals.BlockPlacement | ||
fill_value=None): # type: Any | ||
# type: (...) -> List[ExtensionBlock] | ||
periods: int, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was kind of annoying to fix some syntax issues and make this work with LINT so I just converted to new syntax to avoid hassle |
||
axis: libinternals.BlockPlacement = 0, | ||
fill_value: Any = None) -> List['ExtensionBlock']: | ||
""" | ||
Shift the block by `periods`. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.