Chore: Updates dependency groups (#10339)

This commit is contained in:
Trenton H
2025-07-07 17:37:58 -07:00
committed by GitHub
parent bc019fab96
commit 3d2a3ede71
21 changed files with 157 additions and 153 deletions

View File

@@ -44,7 +44,7 @@ def move_documents_and_create_thumbnails(apps, schema_editor):
exist_ok=True,
)
documents: list[str] = os.listdir(Path(settings.MEDIA_ROOT) / "documents")
documents: list[str] = os.listdir(Path(settings.MEDIA_ROOT) / "documents") # noqa: PTH208
if set(documents) == {"originals", "thumbnails"}:
return

View File

@@ -70,7 +70,7 @@ def _convert_thumbnails_to_webp(apps, schema_editor):
(existing_thumbnail, converted_thumbnail),
)
if len(work_packages):
if work_packages:
logger.info(
"\n\n"
" This is a one-time only migration to convert thumbnails for all of your\n"

View File

@@ -130,7 +130,7 @@ def _convert_encrypted_thumbnails_to_webp(apps, schema_editor) -> None:
(existing_thumbnail, converted_thumbnail, passphrase),
)
if len(work_packages):
if work_packages:
logger.info(
"\n\n"
" This is a one-time only migration to convert thumbnails for all of your\n"