mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
fix CI failing
unsure why this doesn't fail locally, using the same mypy version
This commit is contained in:
parent
c0a69587f3
commit
02720ec604
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
|||
|
||||
import pprint
|
||||
import time
|
||||
from typing import Any, Dict, Optional
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import anki # pylint: disable=unused-import
|
||||
from anki.consts import *
|
||||
|
|
@ -26,7 +26,7 @@ from anki.utils import intTime, joinFields, timestampID
|
|||
|
||||
|
||||
class Card:
|
||||
_qa: Optional[Dict[str, str]]
|
||||
_qa: Optional[Dict[str, Union[str, int]]]
|
||||
_note: Optional[Note]
|
||||
timerStarted: Optional[float]
|
||||
lastIvl: Optional[int]
|
||||
|
|
|
|||
Loading…
Reference in a new issue