comparison pyproject.toml @ 46382:d4c8b4b90ecb

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
author Augie Fackler <augie@google.com>
date Tue, 01 Dec 2020 12:59:33 -0500
parents 45afff0f530a
children 5be886200eb6 58fe6d127a01
comparison
equal deleted inserted replaced
46381:45afff0f530a 46382:d4c8b4b90ecb
1 [build-system] 1 [build-system]
2 requires = ["setuptools", "wheel"] 2 requires = ["setuptools", "wheel"]
3 build-backend = "setuptools.build_meta" 3 build-backend = "setuptools.build_meta"
4
5 [tool.black]
6 line-length = 80
7 exclude = '''
8 build/
9 | wheelhouse/
10 | dist/
11 | packages/
12 | \.hg/
13 | \.mypy_cache/
14 | \.venv/
15 | mercurial/thirdparty/
16 '''
17 skip-string-normalization = true
18 quiet = true