adjust output colors when checking melpa pull requests

This commit is contained in:
riscy 2022-09-03 21:19:56 -07:00
parent a5f2d5fa4d
commit 6aed756a24

View file

@ -783,8 +783,8 @@ def check_melpa_pr(pr_url: str) -> None:
check_containerized_build(recipe, elisp_dir) check_containerized_build(recipe, elisp_dir)
if os.environ.get('EXIST_OK', '').lower() != 'true': if os.environ.get('EXIST_OK', '').lower() != 'true':
check_package_name(package_name(recipe)) check_package_name(package_name(recipe))
_note('<!-- Footnotes:', CLR_INFO) print('<!-- Footnotes:')
print(f"- {_prettify_recipe(recipe)}") _note(f"- {_prettify_recipe(recipe)}", CLR_INFO, ':[^ ]+')
repo_info = _repo_info_api(_clone_address(recipe)) repo_info = _repo_info_api(_clone_address(recipe))
if repo_info: if repo_info:
if repo_info.get('archived'): if repo_info.get('archived'):
@ -898,7 +898,7 @@ def _check_loop() -> None:
if _return_code() != 0: if _return_code() != 0:
_fail('<!-- Issues detected -->') _fail('<!-- Issues detected -->')
else: else:
_note('<!-- Finished -->') _note('<!-- Finished -->', CLR_INFO)
except KeyboardInterrupt: except KeyboardInterrupt:
pdb.set_trace() # pylint: disable=forgotten-debug-statement pdb.set_trace() # pylint: disable=forgotten-debug-statement