summaryrefslogtreecommitdiff
path: root/resolver.py
diff options
context:
space:
mode:
Diffstat (limited to 'resolver.py')
-rw-r--r--resolver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolver.py b/resolver.py
index 83656d1..85125ac 100644
--- a/resolver.py
+++ b/resolver.py
@@ -434,9 +434,9 @@ class VersionedResolver(BaseResolver):
version = self.parser.yaml_version
except AttributeError:
if hasattr(self.loadumper, 'typ'):
- version = self.loadumper.version
+ version = self.loadumper.version # type: ignore
else:
- version = self.loadumper._serializer.use_version # dumping
+ version = self.loadumper._serializer.use_version # type: ignore # dumping
if version is None:
version = self._loader_version
if version is None: