-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Require error codes for `type: ignore` * Fix `type: ignore` of renderer variants Based on: https://mypy.readthedocs.io/en/stable/kinds_of_types.html#callable-types-and-lambdas mypy can infer lambda types; it seems we just need to annotate the lookup dict. * Use `cast` instead of `Any` This isn't necessary to pass mypy, but offers a little more clarity. Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
- Loading branch information
1 parent
d30282f
commit 361f7fc
Showing
2 changed files
with
12 additions
and
8 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