5.3.1.25.9.2. cli.pre_commit_scripts.check_test_files.CTestFiles
- class cli.pre_commit_scripts.check_test_files.CTestFiles(files: set[Path])
Handler for C source and test files.
- __init__(files: set[Path])
Initialize a CTestFiles object.
- Parameters:
files – Set of file paths used to scope checks.
Methods
__init__(files)Initialize a CTestFiles object.
check_for_missing_test_files([verbose])Check for missing test files for each C source.
check_style([verbose])Check C test files for required function signature style.
check_test_files([verbose])Run all checks for C test files.
echo_feedback(err[, verbose])Print feedback to the user about test file presence.
Attributes
test_typeType of test files handled.