Skip to content
Snippets Groups Projects
Commit 8b6e7e67 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts][ci] Better message for twine check

parent d147899a
Branches
Tags
No related merge requests found
......@@ -507,10 +507,9 @@ if __name__ == '__main__':
failed = check(package)
if failed:
raise RuntimeError('long_description of package %s cannot be ' \
'correctly parsed (twine check returned a failure)' % \
(package[0],))
raise RuntimeError('twine check (a.k.a. readme check) %s: FAILED' % \
package[0])
else:
logger.info('Package %s\'s long_description: OK', package[0])
logger.info('twine check (a.k.a. readme check) %s: OK', package[0])
git_clean_build(bootstrap.run_cmdline, verbose=(args.verbose >= 2))
......@@ -174,12 +174,9 @@ def readme(package):
failed = check([k])
if failed:
raise RuntimeError('long_description of package %s cannot be ' \
'correctly parsed (twine check returned a failure)' % \
(k,))
raise RuntimeError('twine check (a.k.a. readme check) %s: FAILED' % k)
else:
logger.info('Package %s\'s long_description: OK', k)
logger.info('twine check (a.k.a. readme check) %s: OK', k)
@ci.command(epilog='''
Examples:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment