8000 GitHub - sourcegraph/scip-python at 03cad41a2ca66dc0a2b664a41ef58c3138d43c48
[go: up one dir, main page]

Skip to content

sourcegraph/scip-python

Repository files navigation

lsif-python

Sourcegraph fork of pyright focused on generating LSIF for python projects.

Project is primarily an addition to Pyright. At this time, there are no substantial changes to the pyright library.

Pre-requisites

$ # Install and add `lsif-typed` to your path and/or project
$ curl -Lo lsif-typed https://github.com/sourcegraph/lsif-typescript/releases/download/v0.1.8/lsif-typed && chmod +x lsif-typed

Usage

$ npm install @sourcegraph/lsif-python

$ # Activate your virtual environment before running
$ lsif-python index . --projectName $MY_PROJECT

$ # Transform lsif-python output to traditional LSIF format
$ #     (at some point, this step will be removed)
$ lsif-typed dump.lsif-typed > dump.lsif

$ # Make sure to point towards the sourcegraph instance you're interested in uploading to.
$ #     more information at https://github.com/sourcegraph/src-cli
$ src lsif upload

About

SCIP indexer for Python

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published
0