SoftwareUnderstanding / inspect4py

Static code analysis package for Python repositories
https://inspect4py.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
28 stars 10 forks source link

The “returns” field in each function information needs improvement #374

Closed rosafilgueira closed 2 years ago

rosafilgueira commented 2 years ago

_get_ids function is not complete and cannot handle return node values like “str(arg)”(ast.Call) or “{‘key’: ‘value’}”(ast.Dict).

rosafilgueira commented 2 years ago

In my commit, I fixed that problem. Now, inspect4py (and most specifically _get_ids function) is able to catch other types of return.