mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +01:00
Removes support for Python 3.8 and lower from the code base
This commit is contained in:
parent
c8bfbb9315
commit
650c816a7b
34 changed files with 195 additions and 337 deletions
|
|
@ -6,12 +6,11 @@ import re
|
|||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
from collections.abc import Iterator
|
||||
from functools import lru_cache
|
||||
from pathlib import Path
|
||||
from typing import Iterator
|
||||
from typing import Match
|
||||
from re import Match
|
||||
from typing import Optional
|
||||
from typing import Set
|
||||
|
||||
from django.conf import settings
|
||||
from django.utils import timezone
|
||||
|
|
@ -90,7 +89,7 @@ def is_file_ext_supported(ext: str) -> bool:
|
|||
return False
|
||||
|
||||
|
||||
def get_supported_file_extensions() -> Set[str]:
|
||||
def get_supported_file_extensions() -> set[str]:
|
||||
extensions = set()
|
||||
for response in document_consumer_declaration.send(None):
|
||||
parser_declaration = response[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue