-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Env an ABC (Abstract Base Class)
Env appears to be used as an ABC, yet uses an older Python pattern: its abstract methods raise NotImplementedError(). Improve by making the class inherit from ABC, and use @AbstractMethod to mark its abstract methods.
- Loading branch information
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