diff options
| author | dherrada <dylan.herrada@gmail.com> | 2020-05-15 13:33:20 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@gmail.com> | 2020-05-15 13:33:20 -0400 |
| commit | 416da442c073397112b54c8cc10ef6acc8af3197 (patch) | |
| tree | 244b883ada92496ad836858226b4e66000164796 /tools | |
| parent | 49cd9ac36e605d85ef393c8c009b90c418305ebe (diff) | |
Now outputs class name
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/extract_types.py | 2 |
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 |
