mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
Fixes ruff not running isort against the codebase
This commit is contained in:
parent
e0d2697618
commit
3bcbd05252
160 changed files with 347 additions and 224 deletions
|
|
@ -6,8 +6,6 @@ from contextlib import contextmanager
|
|||
from dateutil.parser import isoparse
|
||||
from django.conf import settings
|
||||
from django.utils import timezone
|
||||
from documents.models import Document
|
||||
from documents.models import Note
|
||||
from guardian.shortcuts import get_users_with_perms
|
||||
from whoosh import classify
|
||||
from whoosh import highlight
|
||||
|
|
@ -16,8 +14,8 @@ from whoosh.fields import BOOLEAN
|
|||
from whoosh.fields import DATETIME
|
||||
from whoosh.fields import KEYWORD
|
||||
from whoosh.fields import NUMERIC
|
||||
from whoosh.fields import Schema
|
||||
from whoosh.fields import TEXT
|
||||
from whoosh.fields import Schema
|
||||
from whoosh.highlight import HtmlFormatter
|
||||
from whoosh.index import create_in
|
||||
from whoosh.index import exists_in
|
||||
|
|
@ -28,6 +26,9 @@ from whoosh.searching import ResultsPage
|
|||
from whoosh.searching import Searcher
|
||||
from whoosh.writing import AsyncWriter
|
||||
|
||||
from documents.models import Document
|
||||
from documents.models import Note
|
||||
|
||||
logger = logging.getLogger("paperless.index")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue