Add pre-commit configuration for black.

To set up, run `pre-commit install`.
This commit is contained in:
Dan Albert
2021-02-12 19:53:54 -08:00
parent 8c0e781c94
commit 9c1265d50d
2 changed files with 35 additions and 8 deletions

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

@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
language_version: python3