Mercurial > hg
annotate contrib/examples/fix.hgrc @ 43386:2247bf3cec76 stable
fsmonitor: remove pywatchman from exclusion rule
The recently vendored pywatchman code base is now formatted
with black. We can now remove pywatchman from our black
exclusion rule.
Differential Revision: https://phab.mercurial-scm.org/D7202
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 02 Nov 2019 12:51:28 -0700 |
parents | cb0d80831ee0 |
children | c093cc6e6c99 |
rev | line source |
---|---|
42965
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" |
42966
f5ad85dd5f7e
examples: add sample fix integration for `rustfmt`
Augie Fackler <augie@google.com>
parents:
42965
diff
changeset
|
4 |
f5ad85dd5f7e
examples: add sample fix integration for `rustfmt`
Augie Fackler <augie@google.com>
parents:
42965
diff
changeset
|
5 rustfmt:command = rustfmt {rootpath} |
f5ad85dd5f7e
examples: add sample fix integration for `rustfmt`
Augie Fackler <augie@google.com>
parents:
42965
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:
42966
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/**" |