You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Drop support for Python 3.7 as part of #91
fix: Publish anciliary files only to sdist #66 via #87 (thanks to Maxwell G <[email protected]>)
fix: Type of `Requirement.specs` was incorrect #78
fix: `-e` in `requirements.txt` did not handle local paths correctly #97
chore(dev-deps): Updated all development dependencies
chore(deps): include types-setuptools as dependency
Signed-off-by: Paul Horton <[email protected]>
The type of
Requirement.specs
is declared to beList[str]
:requirements-parser/requirements/requirement.py
Line 90 in 1ce9236
However, the actual type is
List[Tuple[str, str]]
, like[('>', '1.5'), ('<', '1.6')]
.The value is assigned here, and the type of the source value is declared as
[list[tuple[str, str]]
. The# type: ignore
isn't needed on that line.The text was updated successfully, but these errors were encountered: