##// END OF EJS Templates
contrib: restore the `hg fix` configuration in the examples...
Matt Harbison -
r47655:3d32b975 default
parent child Browse files
Show More
@@ -1,14 +1,14
1 [fix]
1 [fix]
2 clang-format:command = clang-format --style file
2 clang-format:command = clang-format --style file
3 clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"
3 clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"
4
4
5 rustfmt:command = rustfmt +nightly
5 rustfmt:command = rustfmt +nightly
6 rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**"
6 rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**"
7
7
8 black:command = black
8 black:command = black --config=pyproject.toml -
9 black:pattern = set:**.py - mercurial/thirdparty/**
9 black:pattern = set:**.py - mercurial/thirdparty/**
10
10
11 # Mercurial doesn't have any Go code, but if we did this is how we
11 # Mercurial doesn't have any Go code, but if we did this is how we
12 # would configure `hg fix` for Go:
12 # would configure `hg fix` for Go:
13 go:command = gofmt
13 go:command = gofmt
14 go:pattern = set:**.go
14 go:pattern = set:**.go
General Comments 0
You need to be logged in to leave comments. Login now