inspect4py
inspect4py copied to clipboard
Static code analysis package for Python repositories
Does it use Tree Sitter AST? https://github.com/tree-sitter/tree-sitter
`ast` is used to return the call graph for each file. `tree-sitter` is used to return the `ast` of each function. This looks redundant, we should stick to only one...
There are some lines of code that join parent path to child path using string concatenation, this could create duplicate slash // as indicated in a50de51762e869f61722295ce884a4cab2464a9d. A more robust way...
In many cases I am not interested in having a folder with JSONs, just the final aggregated file. I would like to have an option to export just that final...
[Poetry](https://python-poetry.org/) is a nice tool to "fix" dependency libraries. We should create them to make sure `inspect4py` can be installed anywhere.
Inspect4py installs, but it produces this error: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of...
I did a fresh install of inspect4py from the dev branch. There are 2 problematic tests: ``` FAILED test_inspect4py.py::Test::test_metadata - AssertionError: assert {'allow_forki...{/user}', ...} == {} FAILED test_inspect4py.py::Test::test_multiple_mains - assert...
Unfortunately, `cdmcfparser` does not have support for Python 3.9+ yet, and we get an error dumping the core. - Alternative 1: fork their repo and fix it/wait for them to...
With the review of 12,000 repos, I have found the reference for function names ambiguous. For example, in the image given below, we could see there are two select_builder, but...
We have run inspect4py in 12.000 repositories, but around 10% produced no results. The following attached list yielded empty results. I think there are problems when analyzing certain repositories. We...