mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
new pipfile spec specifier
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
Vendored
+1
@@ -142,6 +142,7 @@ class Pipfile(object):
|
||||
"""Returns a JSON representation of the Pipfile."""
|
||||
data = self.data
|
||||
data['_meta']['hash'] = {"sha256": self.hash}
|
||||
data['_meta']['pipfile-spec'] = 1
|
||||
# return _json.dumps(data)
|
||||
return json.dumps(data, indent=4, separators=(',', ': '))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user