view contrib/examples/fix.hgrc @ 44845:3e09d22a0bf5

git: implement some changelog methods Differential Revision: https://phab.mercurial-scm.org/D8540
author Romain DEP. <rom1dep@gmail.com>
date Mon, 11 May 2020 21:54:05 +0200
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