-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicit optional type hints This is the default in recent `mypy` versions. It is fully backwards compatible, but the previous typing did not work with explicit optional type hints. Declare classes as generic To fix the following `mypy` error: > A function returning TypeVar should receive at least one argument > containing the same TypeVar [type-var]
- Loading branch information
1 parent
93fe2e8
commit 3942351
Showing
1 changed file
with
13 additions
and
11 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