summaryrefslogtreecommitdiff
path: root/scalarstring.py
diff options
context:
space:
mode:
Diffstat (limited to 'scalarstring.py')
-rw-r--r--scalarstring.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scalarstring.py b/scalarstring.py
index bf3cbab..8427323 100644
--- a/scalarstring.py
+++ b/scalarstring.py
@@ -129,7 +129,8 @@ def walk_tree(base, map=None):
map[':'] = SingleQuotedScalarString
walk_tree(data, map=map)
"""
- from ruamel.yaml.compat import string_types, MutableMapping, MutableSequence
+ from ruamel.yaml.compat import string_types
+ from ruamel.yaml.compat import MutableMapping, MutableSequence # type: ignore
if map is None:
map = {'\n': preserve_literal}