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

Clean up and improve typing #378

Merged
merged 1 commit into from
Feb 9, 2021
Merged

Clean up and improve typing #378

merged 1 commit into from
Feb 9, 2021

Conversation

jdufresne
Copy link
Contributor

@jdufresne jdufresne commented Dec 28, 2020

  • Enable "warn_unused_ignores" in mypy.ini
  • Replace internal _typing module with stdlib
  • Remove TYPE_CHECKING guards
  • Move type comments to inline annotations

Base automatically changed from master to main January 21, 2021 19:20
@brettcannon
Copy link
Member

@jdufresne as thanks for your Python 2.7 removal PR, can you update this PR? 😉

- Enable "warn_unused_ignores" in mypy.ini
- Replace internal _typing module with stdlib
- Remove TYPE_CHECKING guard
- Move type comments to inline annotations
@jdufresne
Copy link
Contributor Author

Rebased 🎉

@pradyunsg
Copy link
Member

I love how @jdufresne will have touched nearly every single file in this repo after this change. :P

@brettcannon brettcannon merged commit ae891fd into pypa:main Feb 9, 2021
@brettcannon
Copy link
Member

@jdufresne thanks!

@pradyunsg
Copy link
Member

Indeed! Thanks @jdufresne! ^>^

@jdufresne jdufresne deleted the improve-typing branch February 9, 2021 23: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.

3 participants