Patchwork D7090: black: also ignore grey.py

login
register
mail settings
Submitter phabricator
Date Oct. 14, 2019, 5:02 p.m.
Message ID <differential-rev-PHID-DREV-dzcckovvgxcettjknufo-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42321/
State Superseded
Headers show

Comments

phabricator - Oct. 14, 2019, 5:02 p.m.
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




To: durin42, #hg-reviewers
Cc: mjpieters, 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
@@ -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