Skip to content

Commit

Permalink
fix: clarify error message when path exists in NewSnapFile
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Feb 9, 2024
1 parent dc5f6ad commit 6ac879d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python-core/deciphon_core/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def must_not_exist(cls, x: Path):
@field_validator("path")
def basedir_must_not_exist(cls, x: Path):
if basedir(x).exists():
raise ValueError(f"`{basedir(x)}` must not exist")
raise ValueError(f"`{basedir(x)}` path must not exist")
return x

@property
Expand Down
2 changes: 1 addition & 1 deletion python-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "deciphon-core"
version = "0.20.7"
version = "0.20.8"
description = "Python wrapper around the Deciphon C library"
authors = ["Danilo Horta <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 6ac879d

Please sign in to comment.