Skip to content

Commit 416da44

Browse files
committed
Now outputs class name
1 parent 49cd9ac commit 416da44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/extract_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
try:
5757
tree = astroid.parse(stub_contents)
5858
for i in tree.body:
59+
print(i.__dict__['name'])
5960
for j in i.body:
6061
if isinstance(j, astroid.scoped_nodes.FunctionDef):
6162
if None in j.args.__dict__['annotations']:
@@ -72,6 +73,7 @@
7273
missing_attribute_type += 1
7374
print(f"attribute on line {j.__dict__['lineno']}")
7475
total_3 += 1
76+
print('\n')
7577

7678

7779
ok += 1

0 commit comments

Comments
 (0)