diff --git a/black.toml b/black.toml --- a/black.toml +++ b/black.toml @@ -11,6 +11,7 @@ build/ | mercurial/thirdparty/ | hgext/fsmonitor/pywatchman/ | contrib/python-zstandard/ +| contrib/grey.py ''' skip-string-normalization = true quiet = true diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -12,4 +12,4 @@ rustfmt:pattern = set:**.rs # to have the dependencies for grey. # # black:command = python3.7 contrib/grey.py --config=black.toml - -# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" +# black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/** - contrib/grey.py"