Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ FileFormats
:target: https://github.com/ArcanaFramework/fileformats


*Fileformats* is a library of Python classes that correspond to different file formats
for file-type detection/validation, MIME-type lookup and file handling. The format classes also
provide hooks for methods to read and manipulate the data contained in the files to
*Fileformats* is a Python library for file-type detection/validation, MIME-type lookup and file handling.
It contains a collection format classes that each correspond to a different file formats.
The format classes also provide hooks for methods to read and manipulate the data contained in the files to
facilitate the writing of duck-typed code. Unlike other Python packages, multi-file data
formats, e.g. with separate header/data files or directories containing specific files,
are supported, and can be handled just like single file types.
Expand Down
2 changes: 1 addition & 1 deletion fileformats/core/datatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def matches(cls, values: ty.Any) -> bool:
"""
try:
cls(values) # type: ignore
except FormatMismatchError:
except (FormatMismatchError, FileNotFoundError):
return False
else:
return True
Expand Down
Loading