-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(utility): do not check the type of "__getattr__" in "AttrsMixin"
Mypy did not raise an error on a missing method when base class defined a `__getattr__` function, so make mypy ignore that method by decorating `__getattr__` with `typing.no_type_check`. related issue: python/mypy#6251
- Loading branch information
zhen.chen
committed
May 26, 2021
1 parent
e056c1d
commit f3f747f
Showing
1 changed file
with
15 additions
and
3 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