From 575de4b89b8ec6a0e62d8b281b93f8bcedd0e55f Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 30 Apr 2022 23:15:21 +0200 Subject: [PATCH] mypy does not like an import that can result in two types --- python/damask/_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/_config.py b/python/damask/_config.py index 79fa228cc..ff889bf5d 100644 --- a/python/damask/_config.py +++ b/python/damask/_config.py @@ -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