Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types #575

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Types #575

merged 2 commits into from
Nov 13, 2024

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Nov 10, 2024

Description

Just trying to make sense of the code and correcting things along the way.

@maresb maresb requested a review from a team as a code owner November 10, 2024 09:45
@@ -155,7 +154,7 @@
raise AttributeError("Hash information for sdist was not found on PyPi metadata.")


def get_sdist_url_from_pypi(metadata: dict) -> str:
def get_sdist_url_from_pypi(metadata: dict) -> str | None:

Check notice

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.
@marcelotrevisani
Copy link
Member

don't worry about the failing tests in python 3.8, I will remove support it.

Thanks! :)

@marcelotrevisani marcelotrevisani merged commit c3ceb8e into conda:main Nov 13, 2024
9 of 10 checks passed
@maresb maresb deleted the types branch November 13, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants