generate type stubs which are sufficiently self-consistent to run mypy on all the examples
This commit is contained in:
parent
a33f4fcc9a
commit
e6f2c188db
4 changed files with 54 additions and 19 deletions
|
@ -45,8 +45,8 @@ def process(filename):
|
|||
strval = str(e['value']).strip()
|
||||
if strval.startswith("__"):
|
||||
continue
|
||||
if strval in known_enum:
|
||||
print(e['name'] + " = raylib." + strval)
|
||||
# if strval in known_enum:
|
||||
# print(e['name'] + " = raylib." + strval)
|
||||
elif strval in known_define:
|
||||
print(e['name'] + " = " + strval)
|
||||
else:
|
||||
|
|
Reference in a new issue