(inputs=(), warnings=None)
return deposits, warnings
Inform the system of additional inputs after execution.
Inform the system of additional inputs after execution.
Inform the system of additional inputs after execution .
def deposit(inputs=(), warnings=None):
    """Inform the system of additional inputs after execution."""
    if isinstance(inputs, str):
        raise TypeError('inputs must not be string')
    else:
        deposits = {os.path.abspath(path) for path in inputs}
        for path in deposits:
            if not os.path.isfile(path):
                raise FileNotFoundError(path)
            elif misc.is_inside(path, system.build('.')):
                raise ValueError('deposit inside build directory')
    if warnings is not None:
        warnings = warnings.strip()
    return deposits, warnings
def deposit ( inputs = ( ) , warnings = None ) : if isinstance ( inputs , str ) : raise TypeError ( 'inputs must not be string' ) else : deposits = { os . path . abspath ( path ) for path in inputs } for path in deposits : if not os . path . isfile ( path ) : raise FileNotFoundError ( path ) elif misc . is_inside ( path , system . build ( '.' ) ) : raise ValueError ( 'deposit inside build directory' ) if warnings is not None : warnings = warnings . strip ( ) return deposits , warnings