fix.hgrc
14 lines
| 492 B
| text/plain
|
TextLexer
|
r43235 | [fix] | ||
|
r44460 | clang-format:command = clang-format --style file | ||
clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist" | ||||
|
r43236 | |||
|
r44562 | rustfmt:command = rustfmt +nightly | ||
|
r46195 | rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**" | ||
|
r43335 | |||
r47184 | black:command = black --config=black.toml - | |||
|
r44605 | black:pattern = set:**.py - mercurial/thirdparty/** | ||
|
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 | ||||