skip pipfile.lock is latest

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-01-10 09:40:45 -05:00
parent b9ecc8c522
commit 7fb2b2af41
+2 -8
View File
@@ -21,6 +21,7 @@ class Dependency(object):
class LockedDependency(object):
"""A Locked Dependency"""
def __init__(self, name, constraint, hashes):
self.name = name
self.constraint = constraint
@@ -31,6 +32,7 @@ class LockedDependency(object):
self.name, self.constraint
)
class Requirement(object):
"""A Requirement."""
@@ -76,10 +78,6 @@ class PipenvProject(object):
"""Asserts that the Pipfile.lock exists."""
assert os.path.isfile(self._pipfile_path)
@property
def lockfile_is_latest(self):
pass
def _get_section_of_pipfile(self, section, target):
def gen():
pipfile = toml.load(self._pipfile_path)
@@ -196,7 +194,3 @@ class PipenvProject(object):
@property
def virtualenv_location(self):
return self._run('--venv').out.strip()