contrib/examples/fix.hgrc
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 02 Nov 2019 12:51:28 -0700
branchstable
changeset 43386 2247bf3cec76
parent 43351 cb0d80831ee0
child 43502 c093cc6e6c99
permissions -rw-r--r--
fsmonitor: remove pywatchman from exclusion rule The recently vendored pywatchman code base is now formatted with black. We can now remove pywatchman from our black exclusion rule. Differential Revision: https://phab.mercurial-scm.org/D7202

[fix]
clang-format:command = clang-format --style file -i
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"

rustfmt:command = rustfmt {rootpath}
rustfmt:pattern = set:**.rs

black:command = black --config=black.toml -
black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"