Skip to content

Conversation

@twoertwein
Copy link
Member

@twoertwein twoertwein commented Apr 8, 2022

Tiny step towards #39813 (pyright --ignoreexternal --verifytypes pandas) the relevant changes are in pandas/__init__.py and pandas/_config/config.py (private but get_option, ... uses the annotated wrapper).

I didn't plan to do the second commit (seemingly unrelated changes) but it seems that the first commit disturbed mypy's slumber (probably a few more cases that used the un-annotated wrapper?). I'm not very confident in the changes from the second commit (types for cython/c functions).

@pep8speaks
Copy link

pep8speaks commented Apr 8, 2022

Hello @twoertwein! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-05-06 23:21:07 UTC

@jreback jreback added the Typing type annotations, mypy/pyright type checking label Apr 10, 2022
@jreback
Copy link
Contributor

jreback commented Apr 10, 2022

changes to pandas/__init__.py look fine (these could be separate PR if you want).

@twoertwein
Copy link
Member Author

changes to pandas/__init__.py look fine (these could be separate PR if you want).

I kept the simply changes in this PR and will later open a new PR for the remaining changes.

@twoertwein twoertwein marked this pull request as ready for review April 15, 2022 13:40
@twoertwein
Copy link
Member Author

@jreback green

@jreback jreback added this to the 1.5 milestone May 7, 2022
@jreback jreback merged commit 98a8829 into pandas-dev:main May 7, 2022
@twoertwein twoertwein deleted the public_symbols branch May 26, 2022 01:59
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Typing type annotations, mypy/pyright type checking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants