contrib/examples/fix.hgrc
author Raphaël Gomès <rgomes@octobus.net>
Fri, 06 Mar 2020 17:51:03 +0100
changeset 44538 b8ba46c97cdd
parent 44147 5e84a96d865b
child 45620 426294d06ddc
permissions -rw-r--r--
rust-status: wrap `stat_dmap_entries` to ease profiling Differential Revision: https://phab.mercurial-scm.org/D8250

[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