Mercurial > hg-stable
changeset 43223:15c05732d177
black: move remaining config knobs into toml file
Differential Revision: https://phab.mercurial-scm.org/D7088
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 14 Oct 2019 12:52:33 -0400 |
parents | 8f89899a5446 |
children | 2a201b366d5b |
files | black.toml contrib/examples/fix.hgrc |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/black.toml Mon Oct 14 12:46:32 2019 -0400 +++ b/black.toml Mon Oct 14 12:52:33 2019 -0400 @@ -1,3 +1,5 @@ [tool.black] line-length = 80 exclude = 'build/|wheelhouse/|dist/|packages/|\.hg/|\.mypy_cache/|\.venv/|mercurial/thirdparty/|hgext/fsmonitor/pywatchman/|contrib/python-zstandard/' +skip-string-normalization = true +quiet = true
--- a/contrib/examples/fix.hgrc Mon Oct 14 12:46:32 2019 -0400 +++ b/contrib/examples/fix.hgrc Mon Oct 14 12:52:33 2019 -0400 @@ -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 --config=black.toml --skip-string-normalization - +# black:command = python3.7 contrib/grey.py --config=black.toml - # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"