reorder imports

Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
This commit is contained in:
florian on nixos (Florian Brandes) 2022-03-24 18:17:29 +01:00 committed by Florian Brandes
parent b227427916
commit 911f5bc78e
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,7 @@
import logging
import os
import shutil
import tempfile
import tqdm
from django.conf import settings
@ -14,15 +17,11 @@ from documents.models import Document
from documents.models import DocumentType
from documents.models import Tag
from documents.sanity_checker import SanityCheckFailedException
from whoosh.writing import AsyncWriter
# barcode decoder
import os
from pyzbar import pyzbar
from pdf2image import convert_from_path
import tempfile
from pikepdf import Pdf
import shutil
from pyzbar import pyzbar
from whoosh.writing import AsyncWriter
# barcode decoder
logger = logging.getLogger("paperless.tasks")

View File

@ -1,4 +1,5 @@
import os
import tempfile
from unittest import mock
from django.conf import settings
@ -12,9 +13,7 @@ from documents.models import Tag
from documents.sanity_checker import SanityCheckFailedException
from documents.sanity_checker import SanityCheckMessages
from documents.tests.utils import DirectoriesMixin
from PIL import Image
import tempfile
class TestTasks(DirectoriesMixin, TestCase):