From b3336813fe9ad6e594158fc6e130f89576477680 Mon Sep 17 00:00:00 2001 From: Aiden Cullo Date: Fri, 2 Aug 2024 15:30:27 -0400 Subject: [PATCH] replace click.style in PipfileNotFound --- pipenv/exceptions.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pipenv/exceptions.py b/pipenv/exceptions.py index 9487878da7..17c241231e 100644 --- a/pipenv/exceptions.py +++ b/pipenv/exceptions.py @@ -163,12 +163,8 @@ class PipfileNotFound(PipenvFileError): def __init__(self, filename="Pipfile", extra=None, **kwargs): extra = kwargs.pop("extra", []) message = "{} {}".format( - click.style("Aborting!", bold=True, fg="red"), - click.style( - "Please ensure that the file exists and is located in your" - " project root directory.", - bold=True, - ), + "[bold red]Aborting![/bold red]", + "[bold]Please ensure that the file exists and is located in your project root directory.[/bold]", ) super().__init__(filename, message=message, extra=extra, **kwargs)