From c6260fe31a42dc304ee5cd759ee7efee8572a8b3 Mon Sep 17 00:00:00 2001 From: "Jugal D. Bhatt" <55304795+jugaldb@users.noreply.github.com> Date: Mon, 19 May 2025 23:23:22 -0500 Subject: [PATCH] add cla to docs (#10963) * add cla to docs * cla docs clarity --- docs/my-website/docs/extras/contributing_code.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/my-website/docs/extras/contributing_code.md b/docs/my-website/docs/extras/contributing_code.md index ee46a33095..747df5b60f 100644 --- a/docs/my-website/docs/extras/contributing_code.md +++ b/docs/my-website/docs/extras/contributing_code.md @@ -4,20 +4,23 @@ Here are the core requirements for any PR submitted to LiteLLM - +- [ ] Sign the Contributor License Agreement (CLA) - [see details](#contributor-license-agreement-cla) - [ ] Add testing, **Adding at least 1 test is a hard requirement** - [see details](#2-adding-testing-to-your-pr) - [ ] Ensure your PR passes the following tests: - - [ ] [Unit Tests](#3-running-unit-tests) - - [ ] [Formatting / Linting Tests](#35-running-linting-tests) + - [ ] [Unit Tests](#3-running-unit-tests) + - [ ] [Formatting / Linting Tests](#35-running-linting-tests) - [ ] Keep scope as isolated as possible. As a general rule, your changes should address 1 specific problem at a time +## **Contributor License Agreement (CLA)** +Before contributing code to LiteLLM, you must sign our [Contributor License Agreement (CLA)](<(https://cla-assistant.io/BerriAI/litellm)>). This is a legal requirement for all contributions to be merged into the main repository. The CLA helps protect both you and the project by clearly defining the terms under which your contributions are made. + +**Important:** We strongly recommend reviewing and signing the CLA before starting work on your contribution to avoid any delays in the PR process. You can find the CLA [here](https://cla-assistant.io/BerriAI/litellm) and sign it through our CLA management system when you submit your first PR. ## Quick start ## 1. Setup your local dev environment - Here's how to modify the repo locally: Step 1: Clone the repo @@ -71,9 +74,9 @@ LiteLLM uses mypy for linting. On ci/cd we also run `black` for formatting. - push your fork to your GitHub repo - submit a PR from there - ## Advanced -### Building LiteLLM Docker Image + +### Building LiteLLM Docker Image Some people might want to build the LiteLLM docker image themselves. Follow these instructions if you want to build / run the LiteLLM Docker Image yourself.