[PATCH v2] devtools: set DTS directory to format check

Thomas Monjalon thomas at monjalon.net
Wed Nov 23 16:56:14 CET 2022


> The script was running on the current directory.
> If not in the DTS directory, it would re-format every Python files.
> 
> A new positional argument is added to specify the directory to check.
> In most cases, the (new) default value should be enough.
> 
> While updating argument handling,
> the usage is printed in case of wrong argument.
> 
> The directory is also printed in headings, and a last heading is added for the summary part.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Reviewed-by: Owen Hilyard <ohilyard at iol.unh.edu>
> Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
> ---
> v2: add directory in headings and improve headings
> ---
> 
> Nice touch with the headings. The patch looks and works great.

Thanks for the ideas.

> Tested-by: Juraj Linkeš <juraj.linkes at pantheon.tech>

Applied




More information about the dev mailing list