Mercurial > hg > mercurial-source
changeset 44009:8f89899a5446
black: rename pyproject.toml to black.toml
Black won't read this automatically (you'll have to specify --config),
but having a pyproject.toml *at all* puts pip in PEP 517/518 mode
which breaks us for obscure reasons I don't understand. Rather than
waste a ton of time fighting with pip, let's just do this.
Differential Revision: https://phab.mercurial-scm.org/D7087
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 14 Oct 2019 12:46:32 -0400 (2019-10-14) |
parents | 0e2a2fab4b2e |
children | 15c05732d177 |
files | black.toml contrib/examples/fix.hgrc pyproject.toml tests/test-check-code.t |
diffstat | 3 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -11,5 +11,5 @@ # git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5 # to have the dependencies for grey. # -# black:command = python3.7 contrib/grey.py --quiet --skip-string-normalization - +# black:command = python3.7 contrib/grey.py --quiet --config=black.toml --skip-string-normalization - # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"