Add BrowserRow to ignored classes

This commit is contained in:
RumovZ 2021-03-20 16:06:26 +01:00
parent 922fccee58
commit a5be72742c
3 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ persistent = no
[TYPECHECK] [TYPECHECK]
ignored-classes= ignored-classes=
BrowserRow,
FormatTimespanIn, FormatTimespanIn,
AnswerCardIn, AnswerCardIn,
UnburyCardsInCurrentDeckIn, UnburyCardsInCurrentDeckIn,

View File

@ -688,7 +688,7 @@ class Collection:
def browser_row_for_card( def browser_row_for_card(
self, cid: int self, cid: int
) -> Tuple[Generator[Tuple[str, bool], None, None], BrowserRow.Color, str, int]: ) -> Tuple[Generator[Tuple[str, bool], None, None], BrowserRow.Color.V, str, int]:
row = self._backend.browser_row_for_card(cid) row = self._backend.browser_row_for_card(cid)
return ( return (
((cell.text, cell.is_rtl) for cell in row.cells), ((cell.text, cell.is_rtl) for cell in row.cells),

View File

@ -6,6 +6,7 @@ ignore = forms,hooks_gen.py
[TYPECHECK] [TYPECHECK]
ignored-modules=win32file,pywintypes,socket,win32pipe,winrt,pyaudio ignored-modules=win32file,pywintypes,socket,win32pipe,winrt,pyaudio
ignored-classes= ignored-classes=
BrowserRow,
SearchNode, SearchNode,
Config, Config,
OpChanges OpChanges