Skip to content

Add pre-commit hooks

Benjamin Bertrand requested to merge pre-commit into master
  • black (for code formatting)
  • flake8 (for style guide enforcement)

See https://pre-commit.com

If you accept this MR, you should install pre-commit locally on your machine and then run pre-commit install at the root of your repository. That will install a pre-commit hook on your machine. You should then run pre-commit run -a and fix all the errors.

Merge request reports