ci(tests): fix broken tests and add type hints (#1062)

* ci: expand pyright ignore rules to vendored and tests

* tests: comment out unused Mocks for further evaluation

* tests: fix broken tests, add type hints

* chore: address type feedback

* chore: remove unused qtbot parameter
This commit is contained in:
Travis Abendshien
2025-08-27 04:33:38 -07:00
committed by GitHub
parent 3a0da4699a
commit 4704b92804
24 changed files with 335 additions and 225 deletions

View File

@@ -84,12 +84,13 @@ ignore_errors = true
qt_api = "pyside6"
[tool.pyright]
ignore = [".venv/**"]
ignore = ["src/tagstudio/qt/helpers/vendored/pydub/", ".venv/**"]
include = ["src/tagstudio", "tests"]
reportAny = false
reportIgnoreCommentWithoutRule = false
reportImplicitStringConcatenation = false
reportMissingTypeArgument = false
reportMissingTypeStubs = false
# reportOptionalMemberAccess = false
reportUnannotatedClassAttribute = false
reportUnknownArgumentType = false