Skip to content
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

Enable no-implicit-optional option for mypy #1744

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

niklasmohrin
Copy link
Member

Before this, if we had

def foo(x: int = None):
    pass

it would implicitly be

def foo(x: Optional[int] = None):
    pass

@niklasmohrin niklasmohrin force-pushed the no-implicit-optional branch from b48e640 to 89325b6 Compare April 26, 2022 11:26
@niklasmohrin niklasmohrin merged commit d749da0 into e-valuation:main Apr 26, 2022
@niklasmohrin niklasmohrin deleted the no-implicit-optional branch April 26, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants