We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aaf405 commit 72e1c3eCopy full SHA for 72e1c3e
1 file changed
scripts/generate_osv_advisories.py
@@ -481,19 +481,19 @@ def generate_osv_advisories() -> None:
481
482
483
def notice_string(message: str) -> str:
484
- return Fore.YELLOW + Style.DIM + message + Style.RESET_ALL
+ return f'{Fore.YELLOW}{Style.DIM}{message}{Style.RESET_ALL}'
485
486
487
def success_string(message: str) -> str:
488
- return Fore.GREEN + message + Style.RESET_ALL
+ return f'{Fore.GREEN}{message}{Style.RESET_ALL}'
489
490
491
def warning_string(message: str) -> str:
492
- return Fore.YELLOW + message + Style.RESET_ALL
+ return f'{Fore.YELLOW}{message}{Style.RESET_ALL}'
493
494
495
def error_string(message: str) -> str:
496
- return Fore.RED + message + Style.RESET_ALL
+ return f'{Fore.RED}{message}{Style.RESET_ALL}'
497
498
499
if __name__ == '__main__':
0 commit comments