Skip to content

Commit

Permalink
Cleaning (python-poetry#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Feb 20, 2024
1 parent 486a25f commit 219c52e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ drop = [
"*/tests/"
]

[tool.vendoring.license.fallback-urls]
pyrsistent = "https://raw.githubusercontent.com/tobgu/pyrsistent/master/LICENSE.mit"

[build-system]
requires = []
build-backend = "poetry.core.masonry.api"
Expand Down
5 changes: 2 additions & 3 deletions src/poetry/core/version/pep440/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@ def parse(cls, value: str, version_class: type[T]) -> T:


def parse_pep440(value: str, version_class: type[T]) -> T:
return PEP440Parser.parse( # type: ignore[no-any-return]
value, version_class # type: ignore[arg-type]
)
version: T = PEP440Parser.parse(value, version_class) # type: ignore[arg-type]
return version

0 comments on commit 219c52e

Please sign in to comment.