tools/clang_tidy.py
def remove_recursive_files(files, paths, verbose):
    """
    Removes all files that are not immediately under one of the given paths.
    """
    for file in files:
        if os.path.dirname(file) in paths:
            yield file
        else:
            if verbose:

                message = "{} ({}) does not match any ".format(file, os.path.dirname(file))
                message += "non-recursive path in {{{}}}".format(", ".join(paths))
                print(message)

    Removes all files that are not immediately under one of the given paths.
    
Removes all files that are not immediately under one of the given paths.
Removes all files that are not immediately under one of the given paths .
def remove_recursive_files(files, paths, verbose):
    for file in files:
        if os.path.dirname(file) in paths:
            yield file
        else:
            if verbose:
                message = "{} ({}) does not match any ".format(file, os.path.dirname(file))
                message += "non-recursive path in {{{}}}".format(", ".join(paths))
                print(message)
def remove_recursive_files ( files , paths , verbose ) : for file in files : if os . path . dirname ( file ) in paths : yield file else : if verbose : message = "{} ({}) does not match any " . format ( file , os . path . dirname ( file ) ) message += "non-recursive path in {{{}}}" . format ( ", " . join ( paths ) ) print ( message )
Removes all files that are not immediately under one of the given paths.
Removes all files that are not immediately under one of the given paths .
"""
    Removes all files that are not immediately under one of the given paths.
    """
files
paths
verbose