Coding Style

  1. clang-format

    • Clang-Format Documentation

    • Description: Code formatting tool for C/C++/CUDA

    • Key features:

      • Configurable style options

      • IDE integration

      • Automatic formatting

      • Style presets (Google, LLVM, Mozilla)

  2. flake8

    • Flake8 Documentation

    • Description: Python style guide enforcement tool

    • Key features:

      • PEP 8 style checking

      • Complexity checking

      • Plugin system

      • IDE integration

  3. fprettify

    • fprettify Documentation

    • Description: Auto-formatter for modern Fortran code

    • Key features:

      • Configurable indentation

      • Case conversion

      • Consistent whitespace

      • Source code preservation