Created
May 12, 2020 18:39
-
-
Save grahamc/f87d808fe4288cd6a6e443e1b9de4bef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for name, desc in data.items(): | |
comment = desc['description'].strip().split("\n") | |
srcfile = desc['position']['file'].replace(str(cwd) + "/", "") | |
comment.append(f"source: {srcfile}:{desc['position']['line']}") | |
for line in comment: | |
print(f" # {line}") | |
print(f" {name}: {desc['typeName']}") | |
#for name, desc in data.items(): | |
# pprint(desc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment