dev: pre-commit config

This commit is contained in:
2021-01-07 22:34:27 +03:00
parent 164400efec
commit 143f0a566f
2 changed files with 36 additions and 0 deletions

23
pyproject.toml Normal file
View File

@@ -0,0 +1,23 @@
[tool.black]
line-length = 100
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''