-
-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New MyPy configuration for per-module type completeness (#1596)
* Make River fully type-checked by default Add an override for all modules while they are not annotated. * Use the true location of Gymnasium's registry The registry variable of Gymnasium environments is located in the 'registration' module. This variables is also imported by the 'envs' module, but not explictely re-exported. This means the previous code was correct at runtime, but MyPy raised easily-corrected warnings. * Enable more rules for all modules These rules do not cause errors in the current code, meaning they can be enabled without harm.
- Loading branch information
Showing
2 changed files
with
59 additions
and
2 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