Fix ruff warnings pipenv/shells.py

This commit is contained in:
Oz Tiram
2023-07-23 08:12:57 +02:00
parent fe9742b4dd
commit 0c72375e5c
+1 -4
View File
@@ -74,10 +74,7 @@ class Shell:
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):