From f147226eae19042b6fb2497fb14542c636dcab9f Mon Sep 17 00:00:00 2001 From: rihi <19492038+rihi@users.noreply.github.com> Date: Thu, 29 Feb 2024 13:14:00 +0100 Subject: [PATCH] black --- update_for_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_for_release.py b/update_for_release.py index b302ed062..766f6590f 100644 --- a/update_for_release.py +++ b/update_for_release.py @@ -11,7 +11,7 @@ new_version = time.strftime("%Y-%m-%d") if old_version.startswith(new_version): - patch = int(old_version[index + 1:]) if (index := old_version.rfind(".")) != -1 else 0 + patch = int(old_version[index + 1 :]) if (index := old_version.rfind(".")) != -1 else 0 new_version += f".{patch + 1}" data["version"] = new_version