Make mypy happy

This commit is contained in:
Pradyun Gedam 2020-05-21 21:18:44 +05:30
parent 9506a28114
commit 901898c84f
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ class Factory(object):
return SpecifierRequirement(ireq, factory=self)
def make_requirement_from_candidate(self, candidate):
# type: (Candidate) -> ExplicitRequirement
return ExplicitRequirement(candidate)
def make_requirement_from_spec(self, specifier, comes_from):