Mercurial > hg
comparison contrib/examples/fix.hgrc @ 43921:b78795c2a294
examples: add an example configuration for go source files
Tested by timeless.
Differential Revision: https://phab.mercurial-scm.org/D7683
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 17 Dec 2019 14:04:02 -0500 |
parents | c093cc6e6c99 |
children | ac72e17457e5 |
comparison
equal
deleted
inserted
replaced
43920:4222b9d5d4fb | 43921:b78795c2a294 |
---|---|
5 rustfmt:command = rustfmt | 5 rustfmt:command = rustfmt |
6 rustfmt:pattern = set:**.rs | 6 rustfmt:pattern = set:**.rs |
7 | 7 |
8 black:command = black --config=black.toml - | 8 black:command = black --config=black.toml - |
9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" | 9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" |
10 | |
11 # Mercurial doesn't have any Go code, but if we did this is how we | |
12 # would configure `hg fix` for Go: | |
13 go:command = gofmt | |
14 go:pattern = set:**.go |