contrib/examples/fix.hgrc
author Yuya Nishihara <yuya@tcha.org>
Sat, 16 Nov 2019 15:24:49 +0900
changeset 43724 009c115eba95
parent 43550 c093cc6e6c99
child 43927 b78795c2a294
permissions -rw-r--r--
typing: fix argument type of encoding.localstr() It takes both utf-8 and local strings in bytes type.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42967
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
[fix]
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
clang-format:command = clang-format --style file -i
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"
42968
f5ad85dd5f7e examples: add sample fix integration for `rustfmt`
Augie Fackler <augie@google.com>
parents: 42967
diff changeset
     4
43550
c093cc6e6c99 formatting: remove another data-ogre from the config example
Martin von Zweigbergk <martinvonz@google.com>
parents: 43386
diff changeset
     5
rustfmt:command = rustfmt
42968
f5ad85dd5f7e examples: add sample fix integration for `rustfmt`
Augie Fackler <augie@google.com>
parents: 42967
diff changeset
     6
rustfmt:pattern = set:**.rs
43065
31c1a5376745 examples: include a sample of how to use black with fix
Augie Fackler <augie@google.com>
parents: 42968
diff changeset
     7
43351
cb0d80831ee0 contrib: fix up example fix configuration for our move to released black
Augie Fackler <augie@google.com>
parents: 43225
diff changeset
     8
black:command = black --config=black.toml -
43386
2247bf3cec76 fsmonitor: remove pywatchman from exclusion rule
Gregory Szorc <gregory.szorc@gmail.com>
parents: 43351
diff changeset
     9
black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"