Patchwork D7088: black: move remaining config knobs into toml file

login
register
mail settings
Submitter phabricator
Date Oct. 15, 2019, 3:01 a.m.
Message ID <8f1551d66dd9a9cdc16bd24599932d58@localhost.localdomain>
Download mbox | patch
Permalink /patch/42342/
State Not Applicable
Headers show

Comments

phabricator - Oct. 15, 2019, 3:01 a.m.
Closed by commit rHG15c05732d177: black: move remaining config knobs into toml file (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7088?vs=17135&id=17161

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7088/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7088

AFFECTED FILES
  black.toml
  contrib/examples/fix.hgrc

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

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 @@ 
 # 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/**"
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