From c2d59aea4117141f6365d539acc7dcf699c3deef Mon Sep 17 00:00:00 2001 From: Ivana Kellyer Date: Mon, 20 Jan 2025 17:12:03 +0100 Subject: [PATCH] explicit none check --- scripts/populate_tox/populate_tox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/populate_tox/populate_tox.py b/scripts/populate_tox/populate_tox.py index 6953829c81..e26d6a580f 100644 --- a/scripts/populate_tox/populate_tox.py +++ b/scripts/populate_tox/populate_tox.py @@ -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(