diff --git a/hacking/find_grafana_versions.py b/hacking/find_grafana_versions.py index 780d07e6..716f877a 100644 --- a/hacking/find_grafana_versions.py +++ b/hacking/find_grafana_versions.py @@ -25,7 +25,9 @@ def get_grafana_releases(): by_major = {} for release in releases: - if release.get("prerelease") or any(char in release.get("tag_name") for char in "-+"): + if release.get("prerelease") or any( + char in release.get("tag_name") for char in "-+" + ): continue major, version, as_tuple = get_by_major(release.get("tag_name")) if major not in by_major.keys() or by_major[major]["as_tuple"] < as_tuple: