Patchwork [4,of,5,BLACKGNAROK] formatting: make black --quiet in the example `hg fix` config

login
register
mail settings
Submitter Pierre-Yves David
Date Oct. 7, 2019, 4:15 p.m.
Message ID <423493e0127d6328bc94.1570464912@nodosa.octobus.net>
Download mbox | patch
Permalink /patch/42066/
State Accepted
Headers show

Comments

Pierre-Yves David - Oct. 7, 2019, 4:15 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1570463494 14400
#      Mon Oct 07 11:51:34 2019 -0400
# Node ID 423493e0127d6328bc948025886a8c8fe4150957
# Parent  176c569d499555cc64522bf8bd1e5acddc92a991
# EXP-Topic blackgnarok-bytemageddon
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 423493e0127d
formatting: make black --quiet in the example `hg fix` config

I do like cake, but I cannot have so many of them.
Augie Fackler - Oct. 7, 2019, 4:22 p.m.
queued patches 2 and 4, thanks

> On Oct 7, 2019, at 12:15, Pierre-Yves David <pierre-yves.david@ens-lyon.org> wrote:
> 
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@octobus.net>
> # Date 1570463494 14400
> #      Mon Oct 07 11:51:34 2019 -0400
> # Node ID 423493e0127d6328bc948025886a8c8fe4150957
> # Parent  176c569d499555cc64522bf8bd1e5acddc92a991
> # EXP-Topic blackgnarok-bytemageddon
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 423493e0127d
> formatting: make black --quiet in the example `hg fix` config
> 
> I do like cake, but I cannot have so many of them.
> 
> diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
> --- a/contrib/examples/fix.hgrc
> +++ b/contrib/examples/fix.hgrc
> @@ -11,5 +11,5 @@ rustfmt:pattern = set:**.rs
> # git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5
> # to have the dependencies for grey.
> #
> -# black:command = python3.7 contrib/grey.py -l 80 -t py33 --skip-string-normalization -
> +# black:command = python3.7 contrib/grey.py -l 80 -t py33 --quiet --skip-string-normalization -
> # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"

Patch

diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -11,5 +11,5 @@  rustfmt:pattern = set:**.rs
 # git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5
 # to have the dependencies for grey.
 #
-# black:command = python3.7 contrib/grey.py -l 80 -t py33 --skip-string-normalization -
+# black:command = python3.7 contrib/grey.py -l 80 -t py33 --quiet --skip-string-normalization -
 # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"