Skip to content

feat: begin adding settings menu #1576

feat: begin adding settings menu

feat: begin adding settings menu #1576

Triggered via pull request December 15, 2024 23:53
Status Failure
Total duration 46s
Artifacts

mypy.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run MyPy: tagstudio/src/core/settings/tssettings.py#L4
[mypy] reported by reviewdog 🐶 Cannot find implementation or library stub for module named "pydantic" [import-not-found] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:4:1: error: Cannot find implementation or library stub for module named "pydantic" [import-not-found]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L17
[mypy] reported by reviewdog 🐶 Function "builtins.any" is not valid as a type [valid-type] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:17:34: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L18
[mypy] reported by reviewdog 🐶 Item "str" of "Path | str" has no attribute "exists" [union-attr] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:18:12: error: Item "str" of "Path | str" has no attribute "exists" [union-attr]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L19
[mypy] reported by reviewdog 🐶 "bytes" has no attribute "__enter__"; maybe "__iter__"? [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:19:18: error: "bytes" has no attribute "__enter__"; maybe "__iter__"? [attr-defined]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L19
[mypy] reported by reviewdog 🐶 "bytes" has no attribute "__exit__" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:19:18: error: "bytes" has no attribute "__exit__" [attr-defined]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L33
[mypy] reported by reviewdog 🐶 Function "builtins.any" is not valid as a type [valid-type] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:33:36: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L34
[mypy] reported by reviewdog 🐶 Function "builtins.any" is not valid as a type [valid-type] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/settings/tssettings.py:34:23: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L10
[mypy] reported by reviewdog 🐶 Module "src.core.settings" has no attribute "TSSettings" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:10:1: error: Module "src.core.settings" has no attribute "TSSettings" [attr-defined]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L59
[mypy] reported by reviewdog 🐶 Function "builtins.any" is not valid as a type [valid-type] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:59:51: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085