Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Oct 13, 2024
1 parent 7d9071f commit 761b731
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pyswip/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ def resolve_path(filename: str, relative_to: Union[str, Path] = "") -> Path:
return Path(filename)
relative_to = Path(relative_to)
if not relative_to.exists():
raise FileNotFoundError(
None, "Relative path does not exist", str(relative_to)
)
raise FileNotFoundError(None, "Relative path does not exist", str(relative_to))
if relative_to.is_symlink():
raise ValueError("Symbolic links are not supported")
if relative_to.is_dir():
Expand Down

0 comments on commit 761b731

Please sign in to comment.