🔧 Add Black in pre-commit

This commit is contained in:
洛水居室 2022-11-23 08:47:03 +08:00
parent 79b7244981
commit bb19c67453
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

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

@ -0,0 +1,8 @@
repos:
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
args:
- --diff
- --check