We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627ecad commit 427733aCopy full SHA for 427733a
tools/extract_pyi.py
@@ -76,7 +76,7 @@ def convert_folder(top_level, stub_directory):
76
elif isinstance(j, astroid.node_classes.AnnAssign):
77
if 'name' in j.__dict__['annotation'].__dict__:
78
if j.__dict__['annotation'].__dict__['name'] == 'Any':
79
- print(f"missing attribute type on line {j.__dict__['lineno']}")
+ print(f"missing attribute type: {j.__dict__['target'].name} on line {j.__dict__['lineno']}")
80
81
ok += 1
82
except astroid.exceptions.AstroidSyntaxError as e:
0 commit comments