Skip to content

feat: begin adding settings menu #1642

feat: begin adding settings menu

feat: begin adding settings menu #1642

Triggered via pull request December 24, 2024 04:30
Status Failure
Total duration 54s
Artifacts

mypy.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run MyPy: tagstudio/src/core/settings/tssettings.py#L24
[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:24:34: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L25
[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:25:12: error: Item "str" of "Path | str" has no attribute "exists" [union-attr]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L35
[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:35:36: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/core/settings/tssettings.py#L36
[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:36:23: error: Function "builtins.any" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L15
[mypy] reported by reviewdog 🐶 Module "src.core.settings.tssettings" is not valid as a type [valid-type] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:15:34: error: Module "src.core.settings.tssettings" is not valid as a type [valid-type]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L29
[mypy] reported by reviewdog 🐶 tssettings? has no attribute "dark_mode" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:29:40: error: tssettings? has no attribute "dark_mode" [attr-defined]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L50
[mypy] reported by reviewdog 🐶 tssettings? has no attribute "language" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:50:65: error: tssettings? has no attribute "language" [attr-defined]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L62
[mypy] reported by reviewdog 🐶 tssettings? has no attribute "show_library_list" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:62:49: error: tssettings? has no attribute "show_library_list" [attr-defined]
Run MyPy: tagstudio/src/qt/modals/settings_modal.py#L76
[mypy] reported by reviewdog 🐶 tssettings? has no attribute "show_filenames_in_grid" [attr-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/qt/modals/settings_modal.py:76:46: error: tssettings? has no attribute "show_filenames_in_grid" [attr-defined]
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