ci: add mypy check (#161)
* ci: add mypy check * fix remaining mypy issues * ignore whole methods
This commit is contained in:
parent
66aecf2030
commit
c09f50c568
23 changed files with 194 additions and 138 deletions
|
|
@ -1,2 +1,8 @@
|
|||
[tool.ruff]
|
||||
exclude = ["main_window.py", "home_ui.py", "resources.py", "resources_rc.py"]
|
||||
|
||||
[tool.mypy]
|
||||
strict_optional = false
|
||||
disable_error_code = ["union-attr", "annotation-unchecked", "import-untyped"]
|
||||
explicit_package_bases = true
|
||||
warn_unused_ignores = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue