[PATCH v2] devtools: set DTS directory to format check
Juraj Linkeš
juraj.linkes at pantheon.tech
Wed Nov 23 14:41:50 CET 2022
-----Original Message-----
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Wednesday, November 23, 2022 12:22 PM
To: dev at dpdk.org
Cc: Juraj Linkeš <juraj.linkes at pantheon.tech>; Owen Hilyard <ohilyard at iol.unh.edu>; Lijuan Tu <lijuan.tu at intel.com>
Subject: [PATCH v2] devtools: set DTS directory to format check
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.
Tested-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
More information about the dev
mailing list