-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: - Added one minor type hint. - Ignored errors about instantiating a class with an `abstractmethod` since this seems to be a shortcoming on mypy's side: it doesn't recognize that the `dataclass` decorator will take care of `__init__`. - Removed a `super()` call in the `__post_init__` function of `AdaGradGraftingConfig`. I think this is not necessary and mypy complains about inheriting from an `abstractmethod`. Pull Request resolved: #54 Reviewed By: anana10c Differential Revision: D66241155 Pulled By: tsunghsienlee fbshipit-source-id: 5cd918d7c02693d1fd941b99e1b5ae9e06532cad
- Loading branch information
1 parent
b507d64
commit bfc71b1
Showing
7 changed files
with
6 additions
and
7 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
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