-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Having an obscure type variable name is causing some pretty inscrutable errors. For instance: ``` xarray/core/utils.py:466: error: Value of type variable "_LT" of "sorted" cannot be "K" tornado/simple_httpclient.py:324: error: Value of type variable "_LT" of "min" cannot be "Optional[float]" ``` I think having a more descriptive type variable name here is better for user experience and helps address the "why" of an error.
- Loading branch information
1 parent
c5cc223
commit d6d2249
Showing
2 changed files
with
38 additions
and
30 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