fix.hgrc
15 lines
| 700 B
| text/plain
|
TextLexer
Augie Fackler
|
r43235 | [fix] | ||
clang-format:command = clang-format --style file -i | ||||
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" | ||||
Augie Fackler
|
r43236 | |||
rustfmt:command = rustfmt {rootpath} | ||||
rustfmt:pattern = set:**.rs | ||||
Augie Fackler
|
r43335 | |||
Augie Fackler
|
r43353 | # We use black, but currently with | ||
# https://github.com/psf/black/pull/826 applied. For now | ||||
# contrib/grey.py is our fork of black. You need to pip install | ||||
# git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5 | ||||
# to have the dependencies for grey. | ||||
# | ||||
Augie Fackler
|
r43497 | # black:command = python3.7 contrib/grey.py --config=black.toml - | ||
Augie Fackler
|
r43499 | # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/** - contrib/grey.py" | ||