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, header_guards_according_to_filepath=False))[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]