Patchwork D7102: tests: fix formatting test after move of black config

login
register
mail settings
Submitter phabricator
Date Oct. 15, 2019, 1:48 p.m.
Message ID <differential-rev-PHID-DREV-ygezfjfyspyyqd2dcpxb-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42353/
State Superseded
Headers show

Comments

phabricator - Oct. 15, 2019, 1:48 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/D7102

AFFECTED FILES
  tests/test-check-format.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-check-format.t b/tests/test-check-format.t
--- a/tests/test-check-format.t
+++ b/tests/test-check-format.t
@@ -3,5 +3,5 @@ 
 (this should use the actual black as soon as possible)
 
   $ cd $RUNTESTDIR/..
-  $ python3 contrib/grey.py -S --quiet --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`
+  $ python3 contrib/grey.py --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`