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

Convert type comments to type annotations #5120

Merged
merged 3 commits into from
Jun 16, 2022

Conversation

emmatyping
Copy link
Contributor

The issue

pyflakes, mypy, and other code checking tools would like to eventually stop supporting type comments. Since pipenv no longer supports

The fix

How does this pull request fix your problem? Did you consider any alternatives? Why is this the best solution, in your opinion?

The checklist

  • Associated issue: Switch from type comments to type annotations #5119
  • A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

@matteius matteius merged commit b923d57 into pypa:main Jun 16, 2022
@emmatyping emmatyping deleted the type_annotations branch June 16, 2022 00:48
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