File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,14 +137,14 @@ def show(self, file=None):
137
137
138
138
139
139
class PipenvFileError (FileError ):
140
- formatted_message = "{} {{}} {{}}" .format (click . style ( " ERROR:" , fg = " red" , bold = True ) )
140
+ formatted_message = "{} {{}} {{}}" .format ("[bold red] ERROR:[/bold red]" )
141
141
142
142
def __init__ (self , filename , message = None , ** kwargs ):
143
143
extra = kwargs .pop ("extra" , [])
144
144
if not message :
145
- message = click . style ( " Please ensure that the file exists!" , bold = True )
145
+ message = "[bold] Please ensure that the file exists![/ bold]"
146
146
message = self .formatted_message .format (
147
- click . style ( f" { filename } not found!" , bold = True ) , message
147
+ f"[bold] { filename } not found![/ bold]" , message
148
148
)
149
149
FileError .__init__ (self , filename = filename , hint = message , ** kwargs )
150
150
self .extra = extra
You can’t perform that action at this time.
0 commit comments