pyproject.toml
author Augie Fackler <augie@google.com>
Tue, 01 Dec 2020 12:59:33 -0500
changeset 46382 d4c8b4b90ecb
parent 46381 45afff0f530a
child 46455 5be886200eb6
child 48004 58fe6d127a01
permissions -rw-r--r--
black: merge config into main pyproject.toml now that we have it This means that naive contributors who just run `black` on a source file will get reasonable behavior as long as they have a recent black. Yay! Differential Revision: https://phab.mercurial-scm.org/D9834

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 80
exclude = '''
build/
| wheelhouse/
| dist/
| packages/
| \.hg/
| \.mypy_cache/
| \.venv/
| mercurial/thirdparty/
'''
skip-string-normalization = true
quiet = true