summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-09 08:34:41 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-09 08:34:41 +0200
commitab28d38e95b2ae8871c1f68ff3a690cf360ce60a (patch)
tree0a6ac735c227b12b33b8a4a8dc2599d8c559a78b /compat.py
parentc2d45fe4a14cb67f52b04bf8c82c39aac74eece6 (diff)
downloadruamel.yaml-ab28d38e95b2ae8871c1f68ff3a690cf360ce60a.tar.gz
fix issue #196 loosing items on cast to dict0.15.52
*When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
Diffstat (limited to 'compat.py')
-rw-r--r--compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat.py b/compat.py
index 3eb6464..c2db2bb 100644
--- a/compat.py
+++ b/compat.py
@@ -8,8 +8,10 @@ import sys
import os
import types
+# fmt: off
if False: # MYPY
from typing import Any, Dict, Optional, List, Union, BinaryIO, IO, Text, Tuple, Optional # NOQA
+# fmt: on
_DEFAULT_YAML_VERSION = (1, 2)