mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Move mypy config into pyproject.toml. Ignore 2 remaining mypy issues
This commit is contained in:
@@ -72,4 +72,19 @@ dev = ["khoj-assistant[test]"]
|
||||
include = ["src/khoj"]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/khoj"]
|
||||
packages = ["src/khoj"]
|
||||
|
||||
[tool.mypy]
|
||||
files = "src/khoj"
|
||||
pretty = true
|
||||
strict_optional = false
|
||||
ignore_missing_imports = true
|
||||
install_types = true
|
||||
non_interactive = true
|
||||
show_error_codes = true
|
||||
warn_unused_ignores = true
|
||||
exclude = [
|
||||
"src/khoj/interface/desktop/main_window.py",
|
||||
"src/khoj/interface/desktop/file_browser.py",
|
||||
"src/khoj/interface/desktop/system_tray.py",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user