Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed Apr 18, 2024
1 parent 849320e commit 87bdf0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hacking/find_grafana_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 87bdf0f

Please sign in to comment.