mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Fix or ignore MyPy issues in PyQt desktop GUI code
- Remove unneeded type ignore for mps with the latest mypy - Stop excluding PyQT desktop GUI code from MyPy checks - Do not warn about unused ignores. Some issue with mypy giving different errors in different environments (venv, system and pre-commit)
This commit is contained in:
@@ -87,12 +87,7 @@ install_types = true
|
||||
ignore_missing_imports = 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",
|
||||
]
|
||||
warn_unused_ignores = false
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
|
||||
Reference in New Issue
Block a user