# HG changeset patch # User Augie Fackler # Date 2019-10-06 13:55:49 # Node ID 31c1a53767450a2360b44650f5569ce786fd1750 # Parent 929678eb4cbdf90d894923148cae6980bd88e7d4 examples: include a sample of how to use black with fix It's commented out for now since my patch hasn't landed, but we can uncomment it when that lands. Differential Revision: https://phab.mercurial-scm.org/D6974 diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -4,3 +4,7 @@ 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. +# black:command = black --skip-string-normalization +# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"