You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File names that consist of whitespace characters only are valid on my system. I'm on Linux 5.9.6, I don't know if such file names are also valid for MacOS or not.
>>> validate_filename(" ", platform="linux")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/joe/.venv/lib/python3.8/site-packages/pathvalidate/_filename.py", line 249, in validate_filename
FileNameValidator(
File "/home/joe/.venv/lib/python3.8/site-packages/pathvalidate/_filename.py", line 134, in validate
validate_pathtype(value)
File "/home/joe/.venv/lib/python3.8/site-packages/pathvalidate/_common.py", line 41, in validate_pathtype
raise ValidationError(
pathvalidate.error.ValidationError: reason=NULL_NAME, description=the value must be a not empty
The text was updated successfully, but these errors were encountered:
File names that consist of whitespace characters only are valid on my system. I'm on
Linux 5.9.6
, I don't know if such file names are also valid for MacOS or not.The text was updated successfully, but these errors were encountered: