Updates some Python dependencies and the hooks

This commit is contained in:
Trenton H
2023-07-20 11:02:33 -07:00
parent 2f149eac9d
commit 8aa5ecde62
17 changed files with 371 additions and 350 deletions

View File

@@ -2,6 +2,7 @@ import hashlib
import os
import shutil
from pathlib import Path
from typing import Optional
from unittest import mock
from django.conf import settings
@@ -60,8 +61,8 @@ def make_test_document(
mime_type: str,
original: str,
original_filename: str,
archive: str = None,
archive_filename: str = None,
archive: Optional[str] = None,
archive_filename: Optional[str] = None,
):
doc = document_class()
doc.filename = original_filename