summaryrefslogtreecommitdiffstats
path: root/tokens.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tokens.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tokens.py b/tokens.py
index 0c73dcf..700bd03 100644
--- a/tokens.py
+++ b/tokens.py
@@ -1,8 +1,10 @@
-# coding: utf-8
+
+from __future__ import annotations
from ruamel.yaml.compat import nprintf # NOQA
-from typing import Text, Any, Dict, Optional, List # NOQA
+if False: # MYPY
+ from typing import Text, Any, Dict, Optional, List # NOQA
from .error import StreamMark # NOQA
SHOW_LINES = True