# HG changeset patch # User Augie Fackler # Date 2019-10-30 20:17:39 # Node ID cb0d80831ee006dd4de4ee5aa3500cee3571dcdd # Parent 132ddd1cba85c16872187d4dbbe9bcfaadd065fe contrib: fix up example fix configuration for our move to released black diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -5,11 +5,5 @@ clang-format:pattern = (**.c or **.cc or 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/**"