devops.config.config_cpp
Module for parsing C++ configuration.
Functions
|
Parse C++ configuration from a raw dictionary. |
Classes
|
Dataclass to hold C++ configuration values. |
|
A forbidden spelling's replacement and matching mode. |
- class devops.config.config_cpp.ForbiddenSpelling(replacement, within_words=False)[source]
Bases:
objectA forbidden spelling’s replacement and matching mode.
- class devops.config.config_cpp.CppConfig(style_checks=True, license_header_check=True, license_header=None, check_only_staged_files=False, check_dirs=<factory>, exclude_dirs=<factory>, header_guards_according_to_filepath=False, header_guard_pattern=None, ast_checks=True, ast_check_compile_args=<factory>, ast_check_compile_commands_db=None, ast_check_enabled_ids=<factory>, ast_check_disabled_ids=<factory>, ast_check_config=<factory>, forbidden_spellings=<factory>, incremental_state_file=None, fail_fast=True, parallel_jobs=1)[source]
Bases:
objectDataclass to hold C++ configuration values.
- Parameters:
style_checks (bool)
license_header_check (bool)
license_header (str | None)
check_only_staged_files (bool)
header_guards_according_to_filepath (bool)
header_guard_pattern (str | None)
ast_checks (bool)
ast_check_compile_commands_db (str | None)
forbidden_spellings (dict[str, ForbiddenSpelling])
incremental_state_file (str | None)
fail_fast (bool)
parallel_jobs (int)
- forbidden_spellings: dict[str, ForbiddenSpelling]