# HG changeset patch # User Augie Fackler # Date 2019-10-14 16:52:33 # Node ID 15c05732d1777619a306ecda59c9ba27c1c1bd42 # Parent 8f89899a54462e89219d193e663cc60d1b49cdae black: move remaining config knobs into toml file Differential Revision: https://phab.mercurial-scm.org/D7088 diff --git a/black.toml b/black.toml --- a/black.toml +++ b/black.toml @@ -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 diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -11,5 +11,5 @@ rustfmt:pattern = set:**.rs # 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/**"