Skip to content
Snippets Groups Projects
Commit 65545ccb authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add exception for Cmix.Api to bindings checker script

parent b382e6ed
No related branches found
No related tags found
1 merge request!701RPC Module
......@@ -48,6 +48,8 @@ whitelist = {
"NewDMClientWithGoEventModel"]
}
exceptions = [ "Cmix.Api" ]
def main():
log.basicConfig(format='[%(levelname)s] %(asctime)s: %(message)s',
......@@ -64,6 +66,14 @@ def main():
for line in args["path"].readlines():
# An example line is "// skipped field AdminKeysUpdateJSON.ChannelId with unsupported type: *gitlab.com/xx_network/primitives/id.ID"
if line.startswith("// skipped "):
execption = False
for e in exceptions:
if e in line:
exception = True
break
if exception:
continue
parts = line.split(" ", 4)
type = parts[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment