mypy does not like an import that can result in two types
This commit is contained in:
parent
8168d43553
commit
575de4b89b
|
@ -9,7 +9,7 @@ import yaml
|
|||
try:
|
||||
from yaml import CSafeLoader as SafeLoader
|
||||
except ImportError:
|
||||
from yaml import SafeLoader
|
||||
from yaml import SafeLoader # type: ignore
|
||||
|
||||
from ._typehints import FileHandle
|
||||
from . import Rotation
|
||||
|
|
Loading…
Reference in New Issue