Use Black to format Khoj server code and tests

This commit is contained in:
Debanjum Singh Solanky
2023-02-17 10:04:26 -06:00
parent 6130fddf45
commit 5e83baab21
44 changed files with 1167 additions and 915 deletions

View File

@@ -64,7 +64,8 @@ khoj = "khoj.main:run"
[project.optional-dependencies]
test = [
"pytest == 7.1.2",
"pytest >= 7.1.2",
"black >= 23.1.0",
]
dev = ["khoj-assistant[test]"]
@@ -88,3 +89,6 @@ exclude = [
"src/khoj/interface/desktop/file_browser.py",
"src/khoj/interface/desktop/system_tray.py",
]
[tool.black]
line-length = 120