def do_fixes(lnt, result, formatter=None, **kwargs):
    'Actually do the fixes.'
    click.echo('Persisting Changes...')
    res = result.persist_changes(formatter=formatter, **kwargs)
    if all(res.values()):
        click.echo('Done. Please check your files to confirm.')
        return True
    click.echo('Done. Some operations failed. Please check your files to confirm.')
    click.echo('Some errors cannot be fixed or there is another error blocking it.')
    return False
Actually do the fixes.
def do_fixes(lnt, result, formatter=None, **kwargs):
    
    click.echo('Persisting Changes...')
    res = result.persist_changes(formatter=formatter, **kwargs)
    if all(res.values()):
        click.echo('Done. Please check your files to confirm.')
        return True
    click.echo('Done. Some operations failed. Please check your files to confirm.')
    click.echo('Some errors cannot be fixed or there is another error blocking it.')
    return False