Open
Bug 1426456
Opened 6 years ago
Updated 1 year ago
Add analyzer for python code via scip-python
Categories
(Webtools :: Searchfox, enhancement)
Webtools
Searchfox
Tracking
(Not tracked)
NEW
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)
Comment 1•6 years ago
|
||
See also https://github.com/mozilla/dxr/tree/master/dxr/plugins/python
Reporter | ||
Comment 2•5 years ago
|
||
https://github.com/davidhalter/jedi might also be useful
Comment 3•1 year ago
|
||
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.
Description
•