mirror of
https://github.com/ankitects/anki.git
synced 2025-12-13 14:50:59 -05:00
Add BrowserRow to ignored classes
This commit is contained in:
parent
922fccee58
commit
a5be72742c
3 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ persistent = no
|
|||
|
||||
[TYPECHECK]
|
||||
ignored-classes=
|
||||
BrowserRow,
|
||||
FormatTimespanIn,
|
||||
AnswerCardIn,
|
||||
UnburyCardsInCurrentDeckIn,
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ ignore = forms,hooks_gen.py
|
|||
[TYPECHECK]
|
||||
ignored-modules=win32file,pywintypes,socket,win32pipe,winrt,pyaudio
|
||||
ignored-classes=
|
||||
BrowserRow,
|
||||
SearchNode,
|
||||
Config,
|
||||
OpChanges
|
||||
|
|
|
|||
Loading…
Reference in a new issue