Add pre-commit hooks

This commit is contained in:
Edgar P. Burkhart 2023-04-18 18:55:23 +02:00
parent 6ed05ad33d
commit d0cfc2d729
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
24 changed files with 13 additions and 29 deletions

10
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,10 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black