Skip to content

Commit b6da6d5

Browse files
osinjokuCopilot
andauthored
Update src/moldflow/helper.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3e31cc8 commit b6da6d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/moldflow/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def check_file_extension(file_name: str, extensions: tuple | str):
242242
Check if the file name has a valid extension.
243243
Args:
244244
file_name (str): The file name to check.
245-
extensions (list[str]): A list of valid file extensions.
245+
extensions (tuple[str, ...] | str): Valid file extension(s).
246246
"""
247247
process_log(__name__, LogMessage.CHECK_FILE_EXTENSION, locals(), file_name=file_name)
248248
check_type(file_name, str)

0 commit comments

Comments
 (0)