switch to black formatter

This commit is contained in:
erpalma
2018-11-06 11:07:54 +01:00
parent 76e097663c
commit 105f87c0ff
2 changed files with 88 additions and 54 deletions

18
pyproject.toml Normal file
View File

@@ -0,0 +1,18 @@
[tool.black]
line-length = 120
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
)/
'''