view contrib/examples/fix.hgrc @ 43081:e65e7290041e

contrib: fix check-code to be able to detect missing _() with bytestrings Differential Revision: https://phab.mercurial-scm.org/D6997
author Augie Fackler <augie@google.com>
date Sun, 06 Oct 2019 10:20:17 -0400
parents 31c1a5376745
children 7054fd370430
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

# We use black, but currently with https://github.com/psf/black/pull/826 applied.
# black:command = black --skip-string-normalization
# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"