bversion/client.py
def find_local_changes(include_unchanged : bool = False) -> Tuple[dict, Dict[str, manifestFileDetails]]:
    """ Find things that have changed since the last run, applying ignore filters """

    old_state = cdb.get_manifest()
    current_state = get_file_list(config['data_dir'])

    #Apply ignore filters
    current_state = [fle for fle in current_state if not
                     next((True for flter in config['ignore_filters']
                           if fnmatch.fnmatch(fle['path'], flter)), False)]

    # ---------
    changed_files = find_manifest_changes(current_state, old_state, include_unchanged = include_unchanged)
    #pprint(changed_files)

    return changed_files
 Find things that have changed since the last run, applying ignore filters 
Find things that have changed since the last run, applying ignore filters
Find things that have changed since the last run applying ignore filters
def find_local_changes(include_unchanged : bool = False) -> Tuple[dict, Dict[str, manifestFileDetails]]:
    old_state = cdb.get_manifest()
    current_state = get_file_list(config['data_dir'])
    current_state = [fle for fle in current_state if not
                     next((True for flter in config['ignore_filters']
                           if fnmatch.fnmatch(fle['path'], flter)), False)]
    changed_files = find_manifest_changes(current_state, old_state, include_unchanged = include_unchanged)
    return changed_files
def find_local_changes ( include_unchanged : bool = False ) -> Tuple [ dict , Dict [ str , manifestFileDetails ] ] : old_state = cdb . get_manifest ( ) current_state = get_file_list ( config [ 'data_dir' ] ) current_state = [ fle for fle in current_state if not next ( ( True for flter in config [ 'ignore_filters' ] if fnmatch . fnmatch ( fle [ 'path' ] , flter ) ) , False ) ] changed_files = find_manifest_changes ( current_state , old_state , include_unchanged = include_unchanged ) return changed_files
Find things that have changed since the last run, applying ignore filters
Find things that have changed since the last run applying ignore filters
""" Find things that have changed since the last run, applying ignore filters """ #Apply ignore filters # --------- #pprint(changed_files)
include_unchanged
bool