Fixes ruff not running isort against the codebase

This commit is contained in:
Trenton H
2023-04-20 08:10:17 -07:00
parent e0d2697618
commit 3bcbd05252
160 changed files with 347 additions and 224 deletions

View File

@@ -10,6 +10,7 @@ from typing import List
from typing import Optional
from django.conf import settings
from documents.models import Document
from documents.models import MatchingModel
@@ -336,10 +337,9 @@ class DocumentClassifier:
if settings.NLTK_LANGUAGE is not None and settings.NLTK_ENABLED:
import nltk
from nltk.tokenize import word_tokenize
from nltk.corpus import stopwords
from nltk.stem import SnowballStemmer
from nltk.tokenize import word_tokenize
# Not really hacky, since it isn't private and is documented, but
# set the search path for NLTK data to the single location it should be in