fix(ci): address remaining pyright errors (#1368)

* fix(ci): address remaining pyright errors

* fix: implement review feedback
This commit is contained in:
Travis Abendshien
2026-05-13 15:28:41 -04:00
committed by GitHub
parent a7b6636a0b
commit 3846b65758
6 changed files with 51 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ def test_tag_widget_actions_replaced_correctly(qtbot: QtBot, qt_driver: QtDriver
# Set the widget
tags = library.tags
panel.set_tag_widget(tags[0], 0)
tag_widget: TagWidget = panel.scroll_layout.itemAt(0).widget()
tag_widget: TagWidget = panel.scroll_layout.itemAt(0).widget() # pyright: ignore[reportAssignmentType]
should_replace_actions = {
tag_widget: ["on_edit()", "on_remove()"],