mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-14 10:44:28 +00:00
ugh lint
This commit is contained in:
parent
d622b5914f
commit
eb96ae17f1
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def _absolutize_paths(value: dict, skip: Iterable = tuple()) -> dict:
|
||||||
return v
|
return v
|
||||||
try:
|
try:
|
||||||
path = Path(v)
|
path = Path(v)
|
||||||
# skip things that are pathlike but either don't exist
|
# skip things that are pathlike but either don't exist
|
||||||
# or that are at the filesystem root (eg like /data)
|
# or that are at the filesystem root (eg like /data)
|
||||||
if not path.exists() and path.parent != Path().root:
|
if not path.exists() and path.parent != Path().root:
|
||||||
return v
|
return v
|
||||||
|
|
Loading…
Reference in a new issue