-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- OS version and name: macOS:latest
- Poetry version: 1.1.12
- Link of a Gist with the contents of your pyproject.toml file:
Issue
According to PR #4962, there is the question left, if pass should not be replaced by a return. This would be also consistent with the typing definition Optional[Link].
poetry/src/poetry/installation/chef.py
Lines 44 to 47 in 1aa4d5b
| def get_cached_archive_for_link(self, link: Link) -> Optional[Link]: | |
| # If the archive is already a wheel, there is no need to cache it. | |
| if link.is_wheel: | |
| pass |
At the moment
archives = self.get_cached_archives_for_link(link)will be always excetuded.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected