mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Attempt at plette loading the Pipfile data for default and develop.
This commit is contained in:
@@ -2763,6 +2763,7 @@ def do_check(
|
||||
# Run the PEP 508 checker in the virtualenv.
|
||||
cmd = _cmd + [Path(pep508checker_path).as_posix()]
|
||||
c = run_command(cmd, is_verbose=project.s.is_verbose())
|
||||
results = []
|
||||
if c.returncode is not None:
|
||||
try:
|
||||
results = simplejson.loads(c.stdout.strip())
|
||||
|
||||
Vendored
+2
-2
@@ -90,8 +90,8 @@ class Lockfile(DataView):
|
||||
"requires": _copy_jsonsafe(pipfile._data.get("requires", {})),
|
||||
"sources": _copy_jsonsafe(pipfile.sources._data),
|
||||
},
|
||||
"default": {},
|
||||
"develop": {},
|
||||
"default": _copy_jsonsafe(pipfile._data.get("packages", {})),
|
||||
"develop": _copy_jsonsafe(pipfile._data.get("dev-packages", {})),
|
||||
}
|
||||
return cls(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user