2.1.23.1.1. cli.pre_commit_scripts.check_cpp_style_comment.check_file
- cli.pre_commit_scripts.check_cpp_style_comment.check_file(files: list[Path]) int
Check a list of files for C++-style comments (//).
- Parameters:
files – List of file paths to check.
- Returns:
The number of lines of all provided files containing C++-style comments.