pytype is confused by import from parent module

this change prevents the cache from constantly being rebuilt
This commit is contained in:
Damien Elmes 2019-12-16 17:41:47 +10:00
parent 54bfb486e1
commit 6757b30e72
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import json, typing
from anki.lang import _
from anki.utils import ids2str, splitFields, namedtmp, stripHTML
from anki.hooks import runHook
from anki import Collection
from anki.storage import Collection
class Exporter:
includeHTML: typing.Union[bool, None] = None

View file

@ -4,7 +4,7 @@
import os
import unicodedata
from anki import Collection
from anki.storage import Collection
from anki.utils import intTime, splitFields, joinFields
from anki.importing.base import Importer
from anki.lang import _