fix.hgrc
10 lines
| 475 B
| text/plain
|
TextLexer
|
r43235 | [fix] | ||
clang-format:command = clang-format --style file -i | ||||
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" | ||||
|
r43236 | |||
rustfmt:command = rustfmt {rootpath} | ||||
rustfmt:pattern = set:**.rs | ||||
|
r43335 | |||
# 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/**" | ||||