view contrib/examples/fix.hgrc @ 44705:75f1197db884

manifest: fix yet another 20-byte-hash assumption Differential Revision: https://phab.mercurial-scm.org/D8371
author Augie Fackler <augie@google.com>
date Thu, 02 Apr 2020 16:01:36 -0400
parents 5e84a96d865b
children 426294d06ddc
line wrap: on
line source

[fix]
clang-format:command = clang-format --style file
clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"

rustfmt:command = rustfmt +nightly
rustfmt:pattern = set:**.rs

black:command = black --config=black.toml -
black:pattern = set:**.py - mercurial/thirdparty/**

# 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