diff --git a/src/idiap_devtools/click.py b/src/idiap_devtools/click.py
index 1bea20074721cf96ebcd1383b76c413ed9f78da8..0d6d1a71ba293af08a945888e9eb2fa929f87dd2 100644
--- a/src/idiap_devtools/click.py
+++ b/src/idiap_devtools/click.py
@@ -198,7 +198,7 @@ def validate_profile(_: click.Context, __: str, value: str) -> str:
     if not (profile_path / "profile.toml").exists():
         raise click.BadParameter(
             f"Error while attempting to load the profile `{value}' from "
-            f"`{str(profile_path/'profile.toml')}' - file does not exist!"
+            f"`{str(profile_path / 'profile.toml')}' - file does not exist!"
         )
 
     return value
diff --git a/src/idiap_devtools/gitlab/release.py b/src/idiap_devtools/gitlab/release.py
index 90bc020e582fce0c3e9b2874ca5c407a27eafb17..fe02ede42aaaebb715419b2e704ac183a6b9668f 100644
--- a/src/idiap_devtools/gitlab/release.py
+++ b/src/idiap_devtools/gitlab/release.py
@@ -490,10 +490,10 @@ def get_next_version(
     major, minor, patch = latest_tag_name.split(".")
 
     if bump == "major":
-        return f"v{int(major)+1}.0.0"
+        return f"v{int(major) + 1}.0.0"
 
     if bump == "minor":
-        return f"v{major}.{int(minor)+1}.0"
+        return f"v{major}.{int(minor) + 1}.0"
 
     # it is a patch release, proceed with caution for pre-releases
 
@@ -509,7 +509,7 @@ def get_next_version(
         patch_int = int(patch)
 
     # increment the last number in 'v#.#.#'
-    return f"v{major}.{minor}.{patch_int+1}"
+    return f"v{major}.{minor}.{patch_int + 1}"
 
 
 def update_files_at_default_branch(