mypy does not like an import that can result in two types

This commit is contained in:
Martin Diehl 2022-04-30 23:15:21 +02:00
parent 8168d43553
commit 575de4b89b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import yaml
try: try:
from yaml import CSafeLoader as SafeLoader from yaml import CSafeLoader as SafeLoader
except ImportError: except ImportError:
from yaml import SafeLoader from yaml import SafeLoader # type: ignore
from ._typehints import FileHandle from ._typehints import FileHandle
from . import Rotation from . import Rotation