Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.09k stars 604 forks source link

Add Black, isort and flake8 to pre-commit #201

Closed pseudo-rnd-thoughts closed 2 years ago

pseudo-rnd-thoughts commented 2 years ago

To help ensure a high quality of code now and in the future, this PR adds black, isort and flake8 to the pre-commit workflow In addition, all cases of from XYZ import * and from .XYZ import ABC have been removed in favour of absolute imports and precise imports.

rodrigodelazcano commented 2 years ago

LGTM