Skip to content

Commit 4609c11

Browse files
author
Johan Broberg
committed
Format error message in get_dynamic_dependencies for improved readability
1 parent 86526a3 commit 4609c11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

versioning/helper/setup_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ def get_dynamic_dependencies(
179179
f"Please check the file for syntax errors."
180180
) from e
181181
# Re-raise unexpected errors
182-
raise RuntimeError(f"Unexpected error reading {pyproject_path}: {type(e).__name__}: {e}") from e
182+
raise RuntimeError(
183+
f"Unexpected error reading {pyproject_path}: {type(e).__name__}: {e}"
184+
) from e
183185

184186
# Validate pyproject.toml structure
185187
if "project" not in pyproject:

0 commit comments

Comments
 (0)