mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Turn on check_untyped_defs for aqt.exporting
This commit is contained in:
parent
24e7156991
commit
5e6f532f56
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,11 @@ from anki.utils import ids2str, namedtmp, splitFields, stripHTML
|
||||||
|
|
||||||
class Exporter:
|
class Exporter:
|
||||||
includeHTML: Union[bool, None] = None
|
includeHTML: Union[bool, None] = None
|
||||||
|
ext: Optional[str] = None
|
||||||
|
key: Optional[str] = None
|
||||||
|
includeTags: Optional[bool] = None
|
||||||
|
includeSched: Optional[bool] = None
|
||||||
|
includeMedia: Optional[bool] = None
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|
|
@ -84,3 +84,5 @@ check_untyped_defs=true
|
||||||
check_untyped_defs=true
|
check_untyped_defs=true
|
||||||
[mypy-aqt.editor]
|
[mypy-aqt.editor]
|
||||||
check_untyped_defs=true
|
check_untyped_defs=true
|
||||||
|
[mypy-aqt.exporting]
|
||||||
|
check_untyped_defs=true
|
||||||
|
|
Loading…
Reference in a new issue