def RunLinter(): rc, default_tracked_files = lint.GetDefaultFilesToLint() if rc: return rc return lint.RunLinter(map(lambda x: join(dir_root, x), default_tracked_files), jobs=args.jobs, progress_prefix='cpp lint: ')
def RunLinter(jobs): return lint.RunLinter(map(lambda x: join(dir_root, x), util.get_source_files()), jobs=args.jobs, progress_prefix='cpp lint: ')
def RunLinter(jobs): return lint.RunLinter([join(dir_root, x) for x in util.get_source_files()], jobs=args.jobs, progress_prefix='cpp lint: ')