1. 18 Nov, 2021 1 commit
  2. 11 Jun, 2021 1 commit
    • David Frank's avatar
      Improve output style of CI scripts, use clang-format --dry-run · a41e87b2
      David Frank authored and Tobias Lasser's avatar Tobias Lasser committed
      The clang-format test script now relies on clang-format's (now) in-build
      functionality to check for wrong formatting instead of actually
      performing or committing the formated changes and then reverting them.
      From a perceived behaviour standpoint nothing has changed, it should now
      only be more convenient to use the script, as it doesn't require a
      clean git state anymore.
      
      Further, all formatting and linting scripts run only on the changed
      files rather than on the whole codebase. Plus they have some nicer
      looking output :^)
      a41e87b2
  3. 08 Jun, 2021 1 commit
    • David Frank's avatar
      #90 Add formatting and linting using cmake-format · d54fa670
      David Frank authored and Tobias Lasser's avatar Tobias Lasser committed
      The cmakelang package (see https://github.com/cheshirekow/cmake_format)
      provides tools for linting and formatting CMake files. This commit
      provides a basic infrastructure to make use of it.
      
      First, the necessary formatting style file is added
      ('.cmake-format.py'). For many cases, the CMake files don't fulfill
      these requirements yet, therefore, many linting checks are still
      disabled.
      
      Second, scripts and CI stages (only for linting) are added, which are
      run alongside clang-format and clang-tidy. Currently, the formatting
      job is not run, as the files are not yet formatted correctly.
      
      Future MRs should work on slowly reducing the disabled codes.
      
      Close #90
      d54fa670