# HG changeset patch # User Augie Fackler # Date 1572466659 14400 # Node ID cb0d80831ee006dd4de4ee5aa3500cee3571dcdd # Parent 132ddd1cba85c16872187d4dbbe9bcfaadd065fe contrib: fix up example fix configuration for our move to released black diff -r 132ddd1cba85 -r cb0d80831ee0 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/**"