mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix ruff warnings pipenv/shells.py
This commit is contained in:
+1
-4
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user