From patchwork Sun Oct 6 13:56:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6974: examples: include a sample of how to use black with fix From: phabricator X-Patchwork-Id: 42010 Message-Id: <5977299067a73de5df256974e273c009@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Sun, 6 Oct 2019 13:56:21 +0000 Herald added a subscriber: mjpieters. Closed by commit rHG47cba083adb7: examples: include a sample of how to use black with fix (authored by durin42). This revision was automatically updated to reflect the committed changes. CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D6974?vs=16834&id=16876#toc REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6974?vs=16834&id=16876 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6974/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6974 AFFECTED FILES contrib/examples/fix.hgrc CHANGE DETAILS To: durin42, #hg-reviewers, indygreg Cc: mjpieters, indygreg, mercurial-devel diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -4,3 +4,7 @@ rustfmt:command = rustfmt {rootpath} rustfmt:pattern = set:**.rs + +# We use black, but currently with https://github.com/psf/black/pull/826 applied. +# black:command = black --skip-string-normalization +# black:pattern = set:**.py - mercurial/hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"