diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 11:30:42 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 11:30:42 -0400 |
| commit | 427733af04fa4d9d2075ec98e4083c48d1469695 (patch) | |
| tree | 5fa3fa49bcdf84c528f1fba3d148827871083f28 /tools | |
| parent | 627ecadb3f6f131f62a760bb58f3f329b9ad1c2c (diff) | |
More tweaks to extract_pyi.py
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/extract_pyi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract_pyi.py b/tools/extract_pyi.py index 9d22af93a..1781cbd10 100644 --- a/tools/extract_pyi.py +++ b/tools/extract_pyi.py @@ -76,7 +76,7 @@ def convert_folder(top_level, stub_directory): elif isinstance(j, astroid.node_classes.AnnAssign): if 'name' in j.__dict__['annotation'].__dict__: if j.__dict__['annotation'].__dict__['name'] == 'Any': - print(f"missing attribute type on line {j.__dict__['lineno']}") + print(f"missing attribute type: {j.__dict__['target'].name} on line {j.__dict__['lineno']}") ok += 1 except astroid.exceptions.AstroidSyntaxError as e: |
