From 268641676f512a47670fe867adc8f449332e42af Mon Sep 17 00:00:00 2001 From: Ying Sheng Date: Thu, 8 Aug 2024 03:56:30 -0700 Subject: [PATCH 1/2] Create contributor_guide.md --- docs/en/contributor_guide.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/en/contributor_guide.md diff --git a/docs/en/contributor_guide.md b/docs/en/contributor_guide.md new file mode 100644 index 000000000000..719048154085 --- /dev/null +++ b/docs/en/contributor_guide.md @@ -0,0 +1,9 @@ +# Contributor Guide + +## Format Your Code +``` +pip3 install pre-commit +cd sglang +pre-commit install . +pre-commit run --all-files +``` From f7a9d2f05247fa1f75da65bfcfc58dbd4254daff Mon Sep 17 00:00:00 2001 From: Ying Sheng Date: Thu, 8 Aug 2024 03:58:18 -0700 Subject: [PATCH 2/2] Update contributor_guide.md --- docs/en/contributor_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/contributor_guide.md b/docs/en/contributor_guide.md index 719048154085..7a87187c1f00 100644 --- a/docs/en/contributor_guide.md +++ b/docs/en/contributor_guide.md @@ -1,6 +1,8 @@ # Contributor Guide ## Format Your Code +Use these commands to format your code and pass CI linting tests. + ``` pip3 install pre-commit cd sglang