view contrib/examples/fix.hgrc @ 43351:cb0d80831ee0 stable

contrib: fix up example fix configuration for our move to released black
author Augie Fackler <augie@google.com>
date Wed, 30 Oct 2019 16:17:39 -0400
parents 8343070ed758
children 2247bf3cec76
line wrap: on
line source

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

rustfmt:command = rustfmt {rootpath}
rustfmt:pattern = set:**.rs

black:command = black --config=black.toml -
black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"