-
-
Notifications
You must be signed in to change notification settings - Fork 157
TYP: naming and default values #1578
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
base: main
Are you sure you want to change the base?
Conversation
|
/pyright_strict |
|
/pandas_nightly |
pandas-stubs/io/json/_json.pyi
Outdated
| ) -> DataFrame: ... | ||
|
|
||
| class JsonReader(abc.Iterator, Generic[NDFrameT]): | ||
| class JsonReader(abc.Iterator[Any], Generic[NDFrameT]): |
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.
Can you collapse abc.Iterator and from collections.abc import Mapping
pandas-stubs/io/stata.pyi
Outdated
| @@ -1,2 +1,2 @@ | |||
| from collections import abc | |||
| from collections.abc import Sequence | |||
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.
Collapse the two imports here if you can
loicdiridollou
left a comment
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.
Minor cosmetic requests but looks good otherwise!
pandas-stubs/io/parsers/readers.pyi
Outdated
| ) -> DataFrame: ... | ||
|
|
||
| class TextFileReader(abc.Iterator): | ||
| class TextFileReader(abc.Iterator[Any]): |
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.
Same here if possible collapse abc.Iterator into from collections.abc since both are imported
…e/naming-default-values
Towards #1544.
_CrossTabValues