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]
ignored-classes=
BrowserRow,
FormatTimespanIn,
AnswerCardIn,
UnburyCardsInCurrentDeckIn,

View File

@ -688,7 +688,7 @@ class Collection:
def browser_row_for_card(
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)
return (
((cell.text, cell.is_rtl) for cell in row.cells),

View File

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