update CONTRIBUTING.md guideline and requirements

This commit is contained in:
oushu1zhangxiangxuan1
2023-10-10 15:06:55 +08:00
parent 02bbad4ab8
commit 7b11946337
2 changed files with 5 additions and 3 deletions

View File

@@ -10,11 +10,11 @@ git clone https://github.com/<YOUR-GITHUB-USERNAME>/DB-GPT
```
3. Install the project requirements
```
pip install -r requirements.txt
pip install -r requirements/dev-requirements.txt
```
4. Install pre-commit hooks
```
pre-commit install
pre-commit install --allow-missing-config
```
5. Create a new branch for your changes using the following command:

View File

@@ -9,4 +9,6 @@ pytest-mock
pytest-recording
pytesseract==0.3.10
# python code format
black
black
# for git hooks
pre-commmit