fix.hgrc
14 lines
| 485 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 | |||
|
r43808 | rustfmt:command = rustfmt | ||
|
r43236 | rustfmt:pattern = set:**.rs | ||
|
r43335 | |||
|
r43668 | black:command = black --config=black.toml - | ||
|
r43704 | black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" | ||
|
r44373 | |||
# Mercurial doesn't have any Go code, but if we did this is how we | ||||
# would configure `hg fix` for Go: | ||||
go:command = gofmt | ||||
go:pattern = set:**.go | ||||