Commit a02bb04d authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Using Python3 type annotations and checking (with mypy and pytype)

parent da86d154
......@@ -19,6 +19,8 @@
# generated code.
#
import re
from typing import Any, Dict
import commonPy.asnParser
from commonPy.asnAST import AsnString, AsnBasicNode, AsnSetOf, AsnSequenceOf, AsnSet, AsnSequence, AsnChoice, AsnMetaMember, AsnEnumerated
......@@ -26,7 +28,7 @@ from commonPy.utility import panic
# Separate cache per ASN.1 AST dictionary (i.e. per 'names' parameter of ScanChildren)
g_ScanChildrenCache = {}
g_ScanChildrenCache = {} # type: Dict[int, Dict[str, Any]]
def CleanName(name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment