iffiX / machin

Reinforcement learning library(framework) designed for PyTorch, implements DQN, DDPG, A2C, PPO, SAC, MADDPG, A3C, APEX, IMPALA ...
MIT License
400 stars 51 forks source link

Black formatting for the whole repository #10

Closed ikamensh closed 3 years ago

ikamensh commented 3 years ago

This commit does one-time conversion of entire repository to black formatting (https://github.com/psf/black) and adds pre-commit hook to automate it in the future.

Per discussion in issue #9 - This does the one-time conversion and adds pre-commit hook.