utiasDSL / safe-control-gym

PyBullet CartPole and Quadrotor environments—with CasADi symbolic a priori dynamics—for learning-based control and RL
https://www.dynsyslab.org/safe-robot-learning/
MIT License
596 stars 126 forks source link

Improved linting #133

Closed Federico-PizarroBejarano closed 12 months ago

Federico-PizarroBejarano commented 1 year ago

Added pre-commit hooks that both fix a lot and check a lot. Ran them and fixed a lot. Could add more or less changes but I tested a ton of different hooks and I liked these the most. Configured the execution as well to ignore certain issues on certain files.

Also added the hooks as a github action on push. Currently set it to only check changed files but could easily be changed to check all files. Unsure what we want.