diff tests/test-check-format.t @ 43347:abb95b6f79d3 stable

formatting: using black to check for formatting
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 29 Oct 2019 10:43:47 +0100
parents b21e3a747501
children daa3b58906d5
line wrap: on
line diff
--- a/tests/test-check-format.t	Tue Oct 29 10:41:30 2019 +0100
+++ b/tests/test-check-format.t	Tue Oct 29 10:43:47 2019 +0100
@@ -1,7 +1,5 @@
-#require grey
-
-(this should use the actual black as soon as possible)
+#require black
 
   $ cd $RUNTESTDIR/..
-  $ python3 contrib/grey.py --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`
+  $ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`