view contrib/examples/fix.hgrc @ 43386:2247bf3cec76 stable

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 02 Nov 2019 12:51:28 -0700
parents cb0d80831ee0
children c093cc6e6c99
line wrap: on
line source

[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/**"