8000 GitHub - sourcegraph/scip-python at 734ce7d69aa06cfb956cf7b45da379009c3384d8
[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

5A32

Packages

No packages published
0