Skip to content
Snippets Groups Projects
Commit bc2232f2 authored by Moul's avatar Moul
Browse files

[doc] #162: Document the pre-commit hooks in use

parent 54ca997c
No related branches found
No related tags found
No related merge requests found
Pipeline #12318 passed
# Contribute guide # Contribute guide
## Pre-commit ## Pre-commit
We are using [`pre-commit`](https://pre-commit.com/) tool to perform checks on staged changes before committing. Such as black formatting. We are using [`pre-commit`](https://pre-commit.com/) tool to perform checks on staged changes before committing.
We are ussing it for `black` formatting, `isort` imports sorting, `pylint`, `mypy`, and `gitlab-ci` linting.
Depending whether you prefer to work ouside or inside Poetry virtual environment, you should stick to one usage or use both to still have this usefull checks. Depending whether you prefer to work ouside or inside Poetry virtual environment, you should stick to one usage or use both to still have this usefull checks.
`pre-commit` can be used from the installation on your system or from inside Poetry virtual environment where it is installed. `pre-commit` can be used from the installation on your system or from inside Poetry virtual environment where it is installed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment