refine setup process

This commit is contained in:
geekan 2023-12-24 18:00:57 +08:00
parent 4fa2b32046
commit 311d351799
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
default_stages: [ commit ]
# Install
# 1. pip install pre-commit
# 1. pip install metagpt[dev]
# 2. pre-commit install
repos:
- repo: https://github.com/pycqa/isort
@ -24,4 +24,4 @@ repos:
rev: 23.3.0
hooks:
- id: black
args: ['--line-length', '120']
args: ['--line-length', '120']

View file

@ -49,7 +49,7 @@ setup(
"search-ddg": ["duckduckgo-search==3.8.5"],
"pyppeteer": ["pyppeteer>=1.0.2"],
"ocr": ["paddlepaddle==2.4.2", "paddleocr>=2.0.1", "tabulate==0.9.0"],
"dev": ["pylint~=3.0.3", "black~=21.9b0", "isort~=5.9.3", "pre-commit~=2.15.0"],
"dev": ["pylint~=3.0.3", "black~=23.3.0", "isort~=5.12.0", "pre-commit~=3.6.0"],
"test": ["pytest", "pytest-cov", "pytest-asyncio", "pytest-mock"],
},
cmdclass={