Skip to content

cmake-pre-commit-hooks v1.9.0

Choose a tag to compare

@github-actions github-actions released this 24 May 18:52
· 43 commits to main since this release
f361415

Added

  • Added Python tests using PyTest
  • Added support for parsing hook parameters from TOML configuration files
  • Added option to dump the current configuration as TOML-formatted output on the standard output (--dump-toml)
  • Added option to parse CMake trace output to detect files generated using configure_file(...)

Fixed

  • Fixed potential issue with CppCheck hook always running on all files in compile database

Changed

  • CppCheck hook will now exclude C++ header files by default since those are not present within the compilatioon databasebecauzse
  • Make default logging level INFO instead of WARNING
  • Move all CMake handling code into dedicated sub-module
  • Minor adjustments to logging output format
  • Update README

Repository

  • Use ruff for linting over other Python linters
  • System tests now run using LOGLEVEL=DEBUG
  • Improved configuration for external linters (e.g. SonarCloud, Codacy)
  • Update yamllint hook to v1.32.0