[PATCH v2 rtems-tools 0/2] Command for code reformatting and style checking
Ida Delphine
idadelm at gmail.com
Thu Aug 26 08:22:38 UTC 2021
The rtems-style command helps to check for style issues or reformat code given a file
or directory. There are 5 flags:
* -c, --check : Checks for style issues
* -r, --reformat : Reformats the code
* -p, --path : Path to file or dir to be checked or reformatted
* -i, --ignore : Files to be ignored when checking or reformatting
* -v, --verbose : Produces a more detailed output.
Ida Delphine (2):
rt: Add diff method to git.py
misc: Add rtems-style command
misc/rtems-style | 16 +++++
misc/tools/style.py | 153 ++++++++++++++++++++++++++++++++++++++++++++
rtemstoolkit/git.py | 5 ++
3 files changed, 174 insertions(+)
create mode 100644 misc/rtems-style
create mode 100644 misc/tools/style.py
--
2.25.1
More information about the devel
mailing list