Update ci workflows (#1804)
This commit is contained in:
14
docs/contributor_guide.md
Normal file
14
docs/contributor_guide.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Contributor Guide
|
||||
|
||||
## 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.
|
||||
Reference in New Issue
Block a user