[Top][All Lists]

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

Re: Mass file linting

From: David Menéndez Hurtado
Subject: Re: Mass file linting
Date: Thu, 17 Dec 2020 22:27:52 +0100

On Thu, 17 Dec 2020 at 21:59, Fr. Samuel Springuel <> wrote:
I’ve developed a large collection of music files over several years have recently noticed that there are some stylistic formatting deviations in some of them and so I’m looking for a tool that will check all my files for these problems (and ideally fix them).  I can do this in Frescobaldi using Tools->Code Formatting->Format, but I’m looking for a command-line option that I can use to fix my files en masse (and eventually incorporate into a check-in hook on my git repositories to prevent this from happening again).  Does anyone have any suggestions for how to pull this off?

pip install python-ly
ly "reformat" >

That runs exactly the same that Frescobaldi does. More documentation:

I found it poking around the Frescobaldi source, found something called reformat

That calls ly.reformat.reformat


reply via email to

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