def lint_all(clang_format): """Lint files command entry point based on working tree.""" files = git.get_files_to_check_working_tree(is_interesting_file) _lint_files(clang_format, files) return True
def lint_all(linters, config_dict, file_names): # type: (str, Dict[str, str], List[str]) -> None # pylint: disable=unused-argument """Lint files command entry point based on working tree.""" all_file_names = git.get_files_to_check_working_tree(is_interesting_file) _lint_files(linters, config_dict, all_file_names)
def lint_all(file_names: List[str]) -> None: # pylint: disable=unused-argument """Lint files command entry point based on working tree.""" all_file_names = git.get_files_to_check_working_tree(is_interesting_file) _lint_files(all_file_names)