Install pre-commit and default blacken format hook

This commit is contained in:
2023-08-22 16:53:38 -04:00
parent 995a7f42c1
commit d282cd3676
3 changed files with 182 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black