From 7a8e1ddaaf8b8221e88e2c0a3059ce9d67cf20f0 Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:20:55 +0200 Subject: [PATCH] chore: lint --- hacking/find_grafana_versions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: