Ejemplo n.º 1
0
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: ')
Ejemplo n.º 2
0
def RunLinter(jobs):
    return lint.RunLinter(map(lambda x: join(dir_root, x),
                              util.get_source_files()),
                          jobs=args.jobs,
                          progress_prefix='cpp lint: ')
Ejemplo n.º 3
0
def RunLinter(jobs):
    return lint.RunLinter([join(dir_root, x) for x in util.get_source_files()],
                          jobs=args.jobs,
                          progress_prefix='cpp lint: ')