lilypond-devel
[Top][All Lists]
Advanced

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

Re: Run formatting tools


From: Han-Wen Nienhuys
Subject: Re: Run formatting tools
Date: Fri, 25 Sep 2020 12:58:25 +0200

On Fri, Sep 25, 2020 at 9:36 AM Jonas Hahnfeld <hahnjo@hahnjo.de> wrote:

> Am Freitag, den 25.09.2020, 09:31 +0200 schrieb Werner LEMBERG:
> > > What puzzles me a bit is the magnitude of changes from autopep8 - I
> > > thought this tool was run in August? Maybe I'm missing something;
> > > FWIW I used the invocation "autopep8 -ia --ignore=E402" as
> > > documented in CG.
> > >
> > > Thoughts, objections? Should I exclude running autopep8?
> >
> > I was told from a Python professional developer that the best tool for
> > formatting python code be `black`.  Running
> >
> >   black -l 78 ...
> >
> > gives indeed very nice formatting (not tested with lilypond stuff,
> > though).
>
> Hm, I thought we agreed on using autopep8 more than two months ago? I'm
> not very familiar with either tool but I'm against switching back and
> forth multiple times, that'll just cause churn in the code.
>

IIRC I think the option used was -aa (2x -a = aggressive.)

-- 
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen


reply via email to

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