contrib/examples/fix.hgrc
author Manuel Jacob <me@manueljacob.de>
Mon, 01 Jun 2020 14:07:06 +0200
changeset 44958 4ca1110991c4
parent 44232 5e84a96d865b
child 45623 426294d06ddc
permissions -rw-r--r--
sslutil: rename 'minimumprotocolui' -> 'minimumprotocol' Before, both 'minimumprotocolui' and 'minimumprotocol' were used, but meaning the same.

[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