-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop 'typing_extensions', use modern annotations
Since introduction of `from __future__ import annotations` in the project sources, the annotations evaluations aren't happening at runtime, which means we can start using modern type annotation techniques, such as | operand instead of Union. It also means we can completely rely on the `typing` module and drop `typing_extensions` because all imports are now under TYPE_CHECKING, and their usage in signatures are not evaluated at runtime.
- Loading branch information
1 parent
f516c63
commit 9899dd8
Showing
7 changed files
with
102 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.