diff --git a/pipenvlib.py b/pipenvlib.py index 8b3af1f..1f85dfd 100644 --- a/pipenvlib.py +++ b/pipenvlib.py @@ -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() - - - -