1
0
Fork 0

Add pre-commit config

This commit is contained in:
Maurizio Porrato 2023-08-08 18:55:42 +01:00
parent d1a09b002a
commit 28c9d1810a
1 changed files with 12 additions and 0 deletions

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

@ -0,0 +1,12 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black