Skip to content

Clean up and improve typing#378

Merged
brettcannon merged 1 commit into
pypa:mainfrom
jdufresne:improve-typing
Feb 9, 2021
Merged

Clean up and improve typing#378
brettcannon merged 1 commit into
pypa:mainfrom
jdufresne:improve-typing

Conversation

@jdufresne
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Rebased 🎉

@pradyunsg
Copy link
Copy Markdown
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
Copy Markdown
Member

@jdufresne thanks!

@pradyunsg
Copy link
Copy Markdown
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