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

Upgrade to latest mypy #147

Merged
merged 1 commit into from
Dec 19, 2022
Merged

Upgrade to latest mypy #147

merged 1 commit into from
Dec 19, 2022

Conversation

achidlow
Copy link
Collaborator

PEP-484 has changed to recommend against implicit optionals based on default arguments, and mypy has accordingly flipped the default in a recent release.

ref: https://peps.python.org/pep-0484/#union-types

Note: have disabled no-implicit-optional in pyteal imports for now, PR submitted as algorand/pyteal#618 to upgrade there as well, after which we can remove this flag from mypy.ini

PEP-484 has changed to recommend against implicit optionals based on default arguments, and mypy has accordingly flipped the default in a recent release.

ref: https://peps.python.org/pep-0484/#union-types
@barnjamin barnjamin merged commit 20dde92 into algorandfoundation:master Dec 19, 2022
@achidlow achidlow deleted the latest-mypy branch February 28, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants