def _run_pyroma(data):   # pragma: no cover
    """Run pyroma (used to perform checks before releasing a new version).
    """
    import sys
    from zest.releaser.utils import ask
    if not ask("Run pyroma on the package before uploading?"):
        return
    try:
        from pyroma import run
        result = run(data['tagdir'])
        if result != 10:
            if not ask("Continue?"):
                sys.exit(1)
    except __HOLE__:
        if not ask("pyroma not available. Continue?"):
            sys.exit(1)
dataset/ETHPy150Open LabPy/lantz/lantz/__init__.py/_run_pyroma