contrib/examples/fix.hgrc
changeset 46382 d4c8b4b90ecb
parent 45620 426294d06ddc
child 46455 5be886200eb6
equal deleted inserted replaced
46381:45afff0f530a 46382:d4c8b4b90ecb
     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 --config=black.toml -
     8 black:command = black
     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