Skip to content

Commit

Permalink
explicit none check
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jan 20, 2025
1 parent c971981 commit c2d59ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/populate_tox/populate_tox.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def fetch_release(package: str, version: Version) -> dict:
def _prefilter_releases(integration: str, releases: dict[str, dict]) -> list[Version]:
"""Drop versions that are unsupported without making additional API calls."""
min_supported = _MIN_VERSIONS.get(integration)
if min_supported:
if min_supported is not None:
min_supported = Version(".".join(map(str, min_supported)))
else:
print(
Expand Down

0 comments on commit c2d59ae

Please sign in to comment.