mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +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:
@@ -4,14 +4,11 @@ import logging
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
# External Packages
|
||||
import pytest
|
||||
|
||||
from khoj.database.models import Entry, GithubConfig, KhojUser, LocalOrgConfig
|
||||
from khoj.processor.content.github.github_to_entries import GithubToEntries
|
||||
from khoj.processor.content.org_mode.org_to_entries import OrgToEntries
|
||||
|
||||
# Internal Packages
|
||||
from khoj.search_type import text_search
|
||||
from khoj.utils.fs_syncer import collect_files, get_org_files
|
||||
from khoj.utils.rawconfig import ContentConfig, SearchConfig
|
||||
|
||||
Reference in New Issue
Block a user