Skip to content

Enabled stricter type checking #27097

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

Merged
merged 3 commits into from
Jun 28, 2019

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Jun 28, 2019

Considered a "mistake" in the original PEP 484 using the implicit Optional[] on parameters with a default argument of None this PR enables a mypy flag that doesn't do that and checks types more strictly

@WillAyd WillAyd added the Typing type annotations, mypy/pyright type checking label Jun 28, 2019
@WillAyd WillAyd added this to the 0.25.0 milestone Jun 28, 2019
@jreback jreback merged commit 3a53954 into pandas-dev:master Jun 28, 2019
@jreback
Copy link
Contributor

jreback commented Jun 28, 2019

thanks!

@WillAyd WillAyd deleted the strict-optional-checks branch January 16, 2020 00:34
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.

2 participants