Skip to content

Commit

Permalink
Shift type ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohning committed Dec 8, 2024
1 parent c3fa782 commit e90f1c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usdb_syncer/gui/search_tree/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def index(
item = parent_item.children[row]
return self.createIndex(row, column, item)

@overload
def parent(self, child: QIndex) -> QModelIndex: ... # type: ignore
@overload # type: ignore
def parent(self, child: QIndex) -> QModelIndex: ...

@overload
def parent(self) -> QObject: ...
Expand Down

0 comments on commit e90f1c7

Please sign in to comment.