changeset 43351:cb0d80831ee0 stable

contrib: fix up example fix configuration for our move to released black
author Augie Fackler <augie@google.com>
date Wed, 30 Oct 2019 16:17:39 -0400
parents 132ddd1cba85
children 14e3be17e5f5
files contrib/examples/fix.hgrc
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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/**"