Add black code formatter pre-commit hook

This commit is contained in:
Zach Borboa
2023-07-01 08:18:01 -07:00
parent d1a19ae6e9
commit 7627916672
+6
View File
@@ -8,6 +8,12 @@
# 2. Install hooks
# $ pre-commit install
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
name: black
entry: black --skip-string-normalization
- repo: local
hooks:
- id: composer-validate