summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordherrada <dylan.herrada@gmail.com>2020-05-15 13:33:20 -0400
committerdherrada <dylan.herrada@gmail.com>2020-05-15 13:33:20 -0400
commit416da442c073397112b54c8cc10ef6acc8af3197 (patch)
tree244b883ada92496ad836858226b4e66000164796 /tools
parent49cd9ac36e605d85ef393c8c009b90c418305ebe (diff)
Now outputs class name
Diffstat (limited to 'tools')
-rw-r--r--tools/extract_types.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/extract_types.py b/tools/extract_types.py
index f5b9e8613..d8de1c193 100644
--- a/tools/extract_types.py
+++ b/tools/extract_types.py
@@ -56,6 +56,7 @@ for module in modules:
try:
tree = astroid.parse(stub_contents)
for i in tree.body:
+ print(i.__dict__['name'])
for j in i.body:
if isinstance(j, astroid.scoped_nodes.FunctionDef):
if None in j.args.__dict__['annotations']:
@@ -72,6 +73,7 @@ for module in modules:
missing_attribute_type += 1
print(f"attribute on line {j.__dict__['lineno']}")
total_3 += 1
+ print('\n')
ok += 1