Skip to content

Draft: Format checker

Santiago Ospina De Los Ríos requested to merge feature/format-checker into master

This is a proof of concept for format checker to include in the CI configuration.

  • Violations to the uncrustify configuration file .uncrustify.cfg are reported by the code quality section of gitlab MR:
    • Screenshot_2024-10-11_at_04.22.36
  • The script will run uncrustify and compare its diff with respect to diff of the target branch and only report the modified ones.

For now, this is a proof of concept. If this idea is promising, the CI configuration files would go to https://gitlab.dune-project.org/core, and the python script to the base image.

The failure of this CI is on purpose, to show that uncrustify only blames commits from this MR.

Edited by Santiago Ospina De Los Ríos

Merge request reports

Loading