mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Add isort to the pre-commit configuration and apply it to the whole project (#595)
* Apply isort to the entire repository * Fix missing import issues in text_to_entries * Fix imports in migration files
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
# Standard Modules
|
||||
import logging
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from PIL import Image
|
||||
|
||||
# External Packages
|
||||
import pytest
|
||||
from khoj.utils.config import SearchModels
|
||||
|
||||
# Internal Packages
|
||||
from khoj.utils.state import content_index, search_models
|
||||
from khoj.utils.constants import web_directory
|
||||
from khoj.search_type import image_search
|
||||
from khoj.utils.config import SearchModels
|
||||
from khoj.utils.constants import web_directory
|
||||
from khoj.utils.helpers import resolve_absolute_path
|
||||
from khoj.utils.rawconfig import ContentConfig, SearchConfig
|
||||
from khoj.utils.state import content_index, search_models
|
||||
|
||||
|
||||
# Test
|
||||
|
||||
Reference in New Issue
Block a user