Skip to content

Commit

Permalink
Fix ruff warnings pipenv/shells.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oz123 committed Jul 23, 2023
1 parent fe9742b commit 0c72375
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pipenv/shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ def __init__(self, cmd):
self.args = []

def __repr__(self):
return "{type}(cmd={cmd!r})".format(
type=type(self).__name__,
cmd=self.cmd,
)
return "{type(self).__name__}(cmd={self.cmd!r})"

@contextlib.contextmanager
def inject_path(self, venv):
Expand Down

0 comments on commit 0c72375

Please sign in to comment.