Change internal function run_pyroma to _run_pyroma

This commit is contained in:
Hernan Grecco
2014-05-22 16:27:26 -03:00
parent 0a79a5cd5b
commit 187a76bfd4
2 changed files with 4 additions and 2 deletions

View File

@@ -63,7 +63,9 @@ def set_application_registry(registry):
_APP_REGISTRY = registry
def run_pyroma(data): # pragma: no cover
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?"):

View File

@@ -44,7 +44,7 @@ setup(
include_package_data=True,
entry_points={
'zest.releaser.releaser.after_checkout': [
'pyroma = pint:run_pyroma',
'pyroma = pint:_run_pyroma',
],
},
license='BSD',