Skip to content

Commit

Permalink
Ignore type of overloaded function to silence mypy.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohning committed Dec 8, 2024
1 parent 48e765e commit c3fa782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usdb_syncer/gui/search_tree/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def index(
return self.createIndex(row, column, item)

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

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

0 comments on commit c3fa782

Please sign in to comment.