def lint_my(origin_branch: List[str]) -> None: # pylint: disable=unused-argument """Lint files command based on local changes.""" files = git.get_my_files_to_check(is_interesting_file, origin_branch) files = [f for f in files if os.path.exists(f)] _lint_files(files)
def format_my_func(clang_format, origin_branch): """My Format files command entry point.""" files = git.get_my_files_to_check(is_interesting_file, origin_branch) _format_files(clang_format, files)
def format_my_func(clang_format, origin_branch): """My Format files command entry point.""" files = git.get_my_files_to_check(is_interesting_file, origin_branch) files = [f for f in files if os.path.exists(f)] _format_files(clang_format, files)