devops.cpp.build_rules

Module to build C++ rules based on global configuration.

Functions

build_cpp_rules([config])

Build and return the list of C++ rules based on the global configuration.

devops.cpp.build_rules.build_cpp_rules(config=CppConfig(style_checks=True, license_header_check=True, license_header=None, check_only_staged_files=False, check_dirs=[], exclude_dirs=[], header_guards_according_to_filepath=False, header_guard_pattern=None, ast_checks=True, ast_check_compile_args=['-std=c++23'], ast_check_compile_commands_db=None, ast_check_enabled_ids=[], ast_check_disabled_ids=[], ast_check_config={}, forbidden_spellings={}, incremental_state_file=None, fail_fast=True, parallel_jobs=1))[source]

Build and return the list of C++ rules based on the global configuration.

Parameters:

config (CppConfig) – The global C++ configuration.

Returns:

list[Rule] – The list of C++ rules.

Return type:

list[Rule]