Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix strings in virtualenv.py #6268

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pipenv/utils/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def abort(msg=""):
if not path_to_python and python is not None:
# We need to install Python.
err.print(
"[bold][red]Warning:[/red][/bold]"
f"Python [cyan]{python}[/cyan]"
"[bold][red]Warning:[/red][/bold] "
f"Python [cyan]{python}[/cyan] "
"was not found on your system..."
)
# check for python installers
Expand Down Expand Up @@ -261,8 +261,8 @@ def abort(msg=""):
except InstallerError as e:
abort(f"Something went wrong while installing Python:\n{e.err}")
s = (
"Would you like us to install",
f"[green]CPython {version}[/green]",
"Would you like us to install ",
f"[green]CPython {version}[/green] ",
f"with {installer}?",
)

Expand All @@ -272,7 +272,7 @@ def abort(msg=""):
else:
# Tell the user we're installing Python.
console.print(
"f[bold]Installing [green]CPython[/green] {version} with {installer.cmd}[/bold]"
f"[bold]Installing [green]CPython[/green] {version} with {installer.cmd}[/bold]"
)
console.print("(this may take a few minutes)[bold]...[/bold]")
with console.status(
Expand Down
Loading