wpiformat/wpiformat/__init__.py
def proc_standalone(name):
    """Runs each task on each file.

    Keyword arguments:
    name -- file name string
    """
    config_file = Config(os.path.dirname(name), ".styleguide")
    if verbose2:
        with print_lock:
            print("Processing", name)
            for subtask in task_pipeline:
                if subtask.should_process_file(config_file, name):
                    print("  with " + type(subtask).__name__)

    # The success flag is aggregated across multiple file processing results
    all_success = True

    for subtask in task_pipeline:
        if subtask.should_process_file(config_file, name):
            success = subtask.run_standalone(config_file, name)
            all_success &= success

    return all_success
Runs each task on each file.

    Keyword arguments:
    name -- file name string
    
Runs each task on each file.
Keyword arguments:
name -- file name string
Runs each task on each file . Keyword arguments : name -- file name string
def proc_standalone(name):
    config_file = Config(os.path.dirname(name), ".styleguide")
    if verbose2:
        with print_lock:
            print("Processing", name)
            for subtask in task_pipeline:
                if subtask.should_process_file(config_file, name):
                    print("  with " + type(subtask).__name__)
    all_success = True
    for subtask in task_pipeline:
        if subtask.should_process_file(config_file, name):
            success = subtask.run_standalone(config_file, name)
            all_success &= success
    return all_success
def proc_standalone ( name ) : config_file = Config ( os . path . dirname ( name ) , ".styleguide" ) if verbose2 : with print_lock : print ( "Processing" , name ) for subtask in task_pipeline : if subtask . should_process_file ( config_file , name ) : print ( "  with " + type ( subtask ) . __name__ ) all_success = True for subtask in task_pipeline : if subtask . should_process_file ( config_file , name ) : success = subtask . run_standalone ( config_file , name ) all_success &= success return all_success
Runs each task on each file.
Runs each task on each file .
"""Runs each task on each file.

    Keyword arguments:
    name -- file name string
    """ # The success flag is aggregated across multiple file processing results
name