mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-29 06:10:51 +00:00
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:
committed by
GitHub
parent
3a0da4699a
commit
4704b92804
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user