Skip to content

Commit

Permalink
split line
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Oct 2, 2024
1 parent e6ba1be commit 9565210
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pip/_internal/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,4 +805,7 @@ def __init__(

def __str__(self) -> str:
nice_available = " ".join(f'"{e}", ' for e in self.available_extras)[:-2]
return f"{self.base} {self.version} does not provide the extra '{self.extra}'\n{self.base} provides extras: {nice_available}"
return (
f"{self.base} {self.version} does not provide the extra '{self.extra}'"
f"\n{self.base} provides extras: {nice_available}"
)

0 comments on commit 9565210

Please sign in to comment.