contrib: fix up example fix configuration for our move to released black stable
authorAugie Fackler <augie@google.com>
Wed, 30 Oct 2019 16:17:39 -0400
branchstable
changeset 43351 cb0d80831ee0
parent 43350 132ddd1cba85
child 43352 14e3be17e5f5
contrib: fix up example fix configuration for our move to released black
contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc	Wed Oct 23 22:24:14 2019 +0100
+++ b/contrib/examples/fix.hgrc	Wed Oct 30 16:17:39 2019 -0400
@@ -5,11 +5,5 @@
 rustfmt:command = rustfmt {rootpath}
 rustfmt:pattern = set:**.rs
 
-# We use black, but currently with
-# https://github.com/psf/black/pull/826 applied. For now
-# contrib/grey.py is our fork of black. You need to pip install
-# git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5
-# 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/** - contrib/grey.py"
+black:command = black --config=black.toml -
+black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"