Skip to content

ci(pre-commit): enforce commit message and python formatting

Daniel Dehennin requested to merge feature/pre-commit-with-docker into dev

Developpers can install pre-commit and docker to check:

  • commit message formatting with the EOLE official container
  • python formatting using the official black container image

To use it:

  1. install pre-commit on your distribution
  2. execute the following command in the repository directory:
    $ pre-commit install -t pre-commit -t commit-msg
Edited by Daniel Dehennin

Merge request reports