-
-
Notifications
You must be signed in to change notification settings - Fork 143
stubtest inconsistencies #313
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
Conversation
How are you running stubtest? |
Could maybe start creating a small allowlist to cover deprecated arguments? |
55a1a77
to
43fdc06
Compare
pandas-stubs/core/missing.pyi
Outdated
@@ -1,7 +1,7 @@ | |||
def mask_missing(arr, values_to_mask): ... | |||
def clean_fill_method(method, allow_nearest: bool = ...): ... | |||
def clean_interp_method(method, **kwargs): ... | |||
def find_valid_index(values, how: str): ... | |||
def find_valid_index(values, how: str = ...): ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in the docs, so delete??
I started to have a small allowlist for stubtest:
There is obviously much more to add. I did not add it, but I'm happy to add it if other people also use stubtest and/or want to extent this list. |
thanks @twoertwein |
Was trying to go through the "differs from runtime argument" errors from stubtest. Stubtest reports too many (redundant/slightly misleading) errors python/mypy#13676 - I wasn't motivated enough to parse its long output.