fix.hgrc
14 lines
| 496 B
| text/plain
|
TextLexer
Augie Fackler
|
r43235 | [fix] | ||
Kyle Lippincott
|
r44460 | clang-format:command = clang-format --style file | ||
clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist" | ||||
Augie Fackler
|
r43236 | |||
Martin von Zweigbergk
|
r44562 | rustfmt:command = rustfmt +nightly | ||
Martin von Zweigbergk
|
r46195 | rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**" | ||
Augie Fackler
|
r43335 | |||
Matt Harbison
|
r47655 | black:command = black --config=pyproject.toml - | ||
Gregory Szorc
|
r44605 | black:pattern = set:**.py - mercurial/thirdparty/** | ||
Augie Fackler
|
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 | ||||