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

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

parent 7854dea9
No related branches found
No related tags found
No related merge requests found
# Contribute guide
## 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` code linting, `mypy` typing, 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.
`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.
Finish editing this message first!
Please register or to comment