[dpdk-dev] [PATCH v2 1/2] devtools: script to check meson indentation of lists

David Marchand david.marchand at redhat.com
Tue May 4 15:34:44 CEST 2021


On Tue, May 4, 2021 at 3:05 PM Thomas Monjalon <thomas at monjalon.net> wrote:
>
> 26/04/2021 12:54, Bruce Richardson:
> > This is a script to fix up minor formatting issues in meson files.
> > It scans for, and can optionally fix, indentation issues and missing
> > trailing commas in the lists in meson.build files. It also detects,
> > and can fix, multi-line lists where more than one entry appears on a
> > line.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> >  devtools/dpdk_meson_check.py | 125 +++++++++++++++++++++++++++++++++++
>
> Renamed to check-meson.py and added in MAINTAINERS.
>
> Series applied, thanks.

The default behavior is not that friendly (to me).
I have build directories in my sources with stuff from older branches
where the coding fixes are not backported.
This results in the check complaining on all those directories.

Can we have a default behavior where only committed files are considered?
Maybe filtering with git ls-files **/meson.build.


-- 
David Marchand



More information about the dev mailing list