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:
sabaimran
2023-12-28 18:04:02 +05:30
committed by GitHub
parent 738f050086
commit 79913d4c17
87 changed files with 274 additions and 374 deletions

View File

@@ -1,14 +1,11 @@
# Standard Packages
import json
import os
# Internal Packages
from khoj.processor.content.org_mode.org_to_entries import OrgToEntries
from khoj.processor.content.text_to_entries import TextToEntries
from khoj.utils.helpers import is_none_or_empty
from khoj.utils.rawconfig import Entry
from khoj.utils.fs_syncer import get_org_files
from khoj.utils.rawconfig import TextContentConfig
from khoj.utils.helpers import is_none_or_empty
from khoj.utils.rawconfig import Entry, TextContentConfig
def test_configure_heading_entry_to_jsonl(tmp_path):