D7090: black: also ignore grey.py
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 14 17:02:29 UTC 2019
durin42 created this revision.
Herald added subscribers: mercurial-devel, mjpieters.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7090
AFFECTED FILES
black.toml
contrib/examples/fix.hgrc
CHANGE DETAILS
diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -12,4 +12,4 @@
# to have the dependencies for grey.
#
# black:command = python3.7 contrib/grey.py --config=black.toml -
-# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"
+# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/** - contrib/grey.py"
diff --git a/black.toml b/black.toml
--- a/black.toml
+++ b/black.toml
@@ -11,6 +11,7 @@
| mercurial/thirdparty/
| hgext/fsmonitor/pywatchman/
| contrib/python-zstandard/
+| contrib/grey.py
'''
skip-string-normalization = true
quiet = true
To: durin42, #hg-reviewers
Cc: mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list