Skip to content

Conversation

@twoertwein
Copy link
Member

It would be great to have an automated check that new arguments/functions/methods have to have type annotations but I'm not sure whether we can enforce that easily. Let's start by encouraging type annotations through the PR template :)

@twoertwein
Copy link
Member Author

@Dr-Irv Should probably also add a comment to nudge people to submit follow-up PRs to pandas-stubs to add new/changed arguments/methods/functions.

@jreback jreback added the Typing type annotations, mypy/pyright type checking label Jun 5, 2022
@jreback jreback added this to the 1.5 milestone Jun 5, 2022
@jreback
Copy link
Contributor

jreback commented Jun 5, 2022

@Dr-Irv Should probably also add a comment to nudge people to submit follow-up PRs to pandas-stubs to add new/changed arguments/methods/functions.

prob need to add to the typing doc-section about this, but +1

@jreback jreback merged commit ba7802b into pandas-dev:main Jun 5, 2022
@jreback
Copy link
Contributor

jreback commented Jun 5, 2022

thanks @twoertwein

@Dr-Irv
Copy link
Contributor

Dr-Irv commented Jun 6, 2022

@Dr-Irv Should probably also add a comment to nudge people to submit follow-up PRs to pandas-stubs to add new/changed arguments/methods/functions.

prob need to add to the typing doc-section about this, but +1

Totally agree. Still need to write up some docs about how to work with the pandas-stubs repo.

@twoertwein twoertwein deleted the template branch June 8, 2022 19:26
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