@runnable
def run_targets(*args):
    'Run targets for Python.'
    Options.show_coverage = ('coverage' in args)
    count = 0
    for (count, (command, title, retry)) in enumerate(Options.targets, start=1):
        success = call(command, title, retry)
        if (not success):
            message = (('✅ ' * (count - 1)) + '❌')
            show_notification(message, title)
            return False
    message = ('✅ ' * count)
    title = 'All Targets'
    show_notification(message, title)
    show_coverage()
    return True
Run targets for Python.
@runnable
def run_targets(*args):
    
    Options.show_coverage = ('coverage' in args)
    count = 0
    for (count, (command, title, retry)) in enumerate(Options.targets, start=1):
        success = call(command, title, retry)
        if (not success):
            message = (('✅ ' * (count - 1)) + '❌')
            show_notification(message, title)
            return False
    message = ('✅ ' * count)
    title = 'All Targets'
    show_notification(message, title)
    show_coverage()
    return True