contributor_guide.md 337 Bytes
Newer Older
1
2
3
4
5
6
7
8
# Contributor Guide

## Format Your Code
Use these commands to format your code and pass CI linting tests.

```
pip3 install pre-commit
cd sglang
Lianmin Zheng's avatar
Lianmin Zheng committed
9
pre-commit install
10
11
pre-commit run --all-files
```
Lianmin Zheng's avatar
Lianmin Zheng committed
12
13
14

## Add Unit Tests
Add unit tests under [sglang/test](../../test). You can learn how to add and run tests from the README.md in that folder.