lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run formatting tools


From: Jonas Hahnfeld
Subject: Re: Run formatting tools
Date: Sat, 26 Sep 2020 10:26:40 +0200
User-agent: Evolution 3.36.5

Am Freitag, den 25.09.2020, 21:14 +0200 schrieb Jean Abou Samra:
> Le 25/09/2020 à 16:39, Jonas Hahnfeld a écrit :
> 
> > Am Freitag, den 25.09.2020, 16:01 +0200 schrieb Jean Abou Samra:
> > > Le 25/09/2020 à 15:48, Jonas Hahnfeld a écrit :
> > > > Anyway, running black on all Python files gives the following error:
> > > > 
> > > >      error: cannot format 
> > > > /code/LilyPond/src/scripts/auxiliar/translations-status.py: INTERNAL 
> > > > ERROR: Black produced different code on the second pass of the 
> > > > formatter.
> > > 
> > >   I can't reproduce this. What is your version of Black? (Mine is 
> > > 19.3b0.) What line length did you use?
> > > 
> > > The latest, 20.8b1. Happens with both the default and -l 78.
> 
> Seems to be a known, recently introduced bug in Black.It's easy
> to work around it using --fast.

This will just skip the sanity check that future runs keep the
formatting. I don't consider this a valid workaround because we *will*
run the tool again later on.

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]