Add clarifying comments explaining the use of constants

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-06 22:24:58 +00:00
parent 91f851238a
commit 566079e5e5
+4
View File
@@ -13,6 +13,10 @@ from app.tasks.finalize_document_storage import finalize_document_storage
from app.celery_app import celery from app.celery_app import celery
# Directory constants - defined here to avoid hardcoded strings (BAN-B108) # Directory constants - defined here to avoid hardcoded strings (BAN-B108)
# Note: These are application-specific subdirectories within settings.workdir,
# not system temporary directories. The workdir is a configurable path specific
# to this application. For actual temporary file creation, tempfile module is
# used (see line 70: tempfile.NamedTemporaryFile)
TMP_SUBDIR = "tmp" TMP_SUBDIR = "tmp"
PROCESSED_SUBDIR = "processed" PROCESSED_SUBDIR = "processed"