Open Bug 1426456 Opened 6 years ago Updated 1 year ago

Add analyzer for python code via scip-python

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: kats, Unassigned)

Details

It should be possible to add analysis for python the same way we do c++ and js code. Some useful links:

https://docs.python.org/2/library/ast.html
https://greentreesnakes.readthedocs.io/en/latest/

And sample code to get the AST:

import ast
m = ast.parse(open("some-python-file.py", "r").read(), "some-python-file.py")
ast.dump(m)

https://github.com/sourcegraph/scip-python (based on pyright) is I think now the clear choice for us to use.

Summary: Add analyzer for python code → Add analyzer for python code via scip-python
You need to log in before you can comment on or make changes to this bug.