Ajout d'une dépendance à pre-commit

This commit is contained in:
Jean-Marie Favreau 2025-03-02 16:49:59 +01:00
parent a522a6bdae
commit 57e7678c91
2 changed files with 9 additions and 0 deletions

8
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,8 @@
default_language_version:
python: python3.13
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
hooks:
- id: black

View File

@ -5,3 +5,4 @@ pytest-sugar==0.9.7
coverage[toml]==7.2.5
black==23.3.0
ruff==0.0.265
pre-commit==4.1.0