Switch to pyproject.toml for setup

This commit is contained in:
Matthias
2021-05-27 14:00:13 +02:00
parent cf39dd2163
commit 9fbc5c0537
3 changed files with 114 additions and 83 deletions

27
pyproject.toml Normal file
View File

@@ -0,0 +1,27 @@
[tool.black]
line-length = 100
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
# Exclude vendor directory
| vendor
)
'''
[tool.isort]
line_length = 100
[build-system]
requires = ["setuptools >= 46.4.0", "wheel"]
build-backend = "setuptools.build_meta"