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 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel