Skip to main content Link Search Menu Expand Document (external link)

Linting

To simplify linting palliate and its subprojects use Trunk.

Since all projects are git based and use a fair amount of TOML configuration files the following linters and tools are always active:

For the Python subprojects the following linters and tools are active:

For the C++ subprojects the following linters and tools are active:

Please install Trunk or the corresponding VSCode Extension. Some useful commands:

  • trunk check to run the linter jobs
  • trunk check --ci if you want to see if there’s breaking issues
  • trunk fmt to automatically format non-conforming files

The configuration files for all linters and tools can be found in .trunk/config/ relative to the repository’s root directory.