Files
sglang/docs/references/contributor_guide.md
2024-12-08 01:06:15 -08:00

19 lines
470 B
Markdown

# Contributor Guide
# Build SGLang
See [Install SGLang, Method 2: From Source section](../start/install.md).
## Format Your Code
Use these commands to format your code and pass CI linting tests.
```
pip3 install pre-commit
cd sglang
pre-commit install
pre-commit run --all-files
```
## Add Unit Tests
Add unit tests under [sglang/test](https://github.com/sgl-project/sglang/tree/main/test). You can learn how to add and run tests from the README.md in that folder.