diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 338f832ac..41747ece5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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'] \ No newline at end of file + args: ['--line-length', '120'] diff --git a/setup.py b/setup.py index db326df71..63d8099bb 100644 --- a/setup.py +++ b/setup.py @@ -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={