Activate black precommit

This commit is contained in:
James R. Barlow
2019-02-08 14:09:08 -08:00
parent 933f0b8f9b
commit 42c2925f9d
2 changed files with 28 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.6
+22
View File
@@ -0,0 +1,22 @@
[tool.black]
line-length = 88
py36 = true
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
| misc
| \.egg-info
)/
'''