equal
deleted
inserted
replaced
2 clang-format:command = clang-format --style file -i |
2 clang-format:command = clang-format --style file -i |
3 clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" |
3 clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" |
4 |
4 |
5 rustfmt:command = rustfmt {rootpath} |
5 rustfmt:command = rustfmt {rootpath} |
6 rustfmt:pattern = set:**.rs |
6 rustfmt:pattern = set:**.rs |
|
7 |
|
8 # We use black, but currently with https://github.com/psf/black/pull/826 applied. |
|
9 # black:command = black --skip-string-normalization |
|
10 # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" |