updated imports and added info file documentation

This commit is contained in:
2024-12-16 12:40:49 +01:00
committed by Flo Greistorfer
parent b601b67b6e
commit 3b93fb8719
8 changed files with 71 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import List, Optional
from typing import Optional
import os
import argparse
@@ -29,9 +29,9 @@ class Args:
-----------
author_name : str
The name of the author of the images.
exclude_folders : List[str]
exclude_folders : list[str]
A list of folders to exclude from processing.
file_extensions : List[str]
file_extensions : list[str]
A list of file extensions to include.
generate_webmanifest : bool
Whether to generate a web manifest file.
@@ -56,8 +56,8 @@ class Args:
"""
author_name: str
exclude_folders: List[str]
file_extensions: List[str]
exclude_folders: list[str]
file_extensions: list[str]
generate_webmanifest: bool
ignore_other_files: bool
license_type: Optional[str]