forked from github.com/pypiserver
8101cf9192
* run black on codebase * add black check to travis ci * add pyproject.toml, revert black on bottle.py Co-authored-by: Pelle Koster <pelle.koster@nginfra.nl>
28 lines
521 B
TOML
28 lines
521 B
TOML
[build-system]
|
|
# Minimum requirements for the build system to execute.
|
|
requires = ["setuptools", "wheel"] # PEP 508 specifications.
|
|
|
|
|
|
[tool.black]
|
|
# Configuration for the Black autoformatter
|
|
line-length = 80
|
|
target-version = ['py36']
|
|
exclude = '''
|
|
(
|
|
/(
|
|
\.direnv
|
|
| \.eggs # exclude a few common directories in the
|
|
| \.git # root of the project
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| \.vscode
|
|
| _build
|
|
| build
|
|
| dist
|
|
| venv
|
|
| pypiserver/bottle.py
|
|
)
|
|
)
|
|
'''
|