forked from Boria138/PortProtonQt
chore: drop all pyright ignore
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -407,7 +407,10 @@ class GameCard(QFrame):
|
||||
parent = self.parent()
|
||||
while parent:
|
||||
if hasattr(parent, 'game_library_manager'):
|
||||
QTimer.singleShot(0, parent.game_library_manager.update_game_grid) # type: ignore[attr-defined]
|
||||
# Access using getattr with default to avoid Ruff B009 warning
|
||||
manager = getattr(parent, 'game_library_manager', None)
|
||||
if manager is not None:
|
||||
QTimer.singleShot(0, manager.update_game_grid)
|
||||
break
|
||||
parent = parent.parent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user