This PR is best read commit by commit because of the huge diff from running linters on the repository for the first time.
Add linter pre-commit checks to enforce style and formatting. Also add a step in github actions to check to make sure pre-commit is passing on every commit.
After this is merged, other contributors will have to install pre-commit and run pre-commit install in the repo to setup pre-commit.
This PR is best read commit by commit because of the huge diff from running linters on the repository for the first time.
Add linter pre-commit checks to enforce style and formatting. Also add a step in github actions to check to make sure pre-commit is passing on every commit.
After this is merged, other contributors will have to install pre-commit and run
pre-commit install
in the repo to setup pre-commit.