Skip to content

reformatting: reformat the entire repository

Ben Boeckel requested to merge ben.boeckel/kwiver:reformatting into integration-v2

Marked as a draft as kwrobot checking needs deployed before this can truly land.

This MR adds configuration for the robot to use to enforce formatting across the entire repository using uncrustify (version 0.78.x) and black (version 24.x). The following exceptions are made:

  • third party code (rapidjson and rapidxml)
  • sprokit C++ code (it is already internally consistent and was 30+% of the C++ diff on its own)

There are a few "fix" commits to make the formatting with uncrustify happy:

 some long line content //
+                       //
                        // word
+                       //
                        // another
+                       //
                        // line

where another set of empty comments are added on each reformat.

Edited by Ben Boeckel

Merge request reports

Loading