🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
Setup pre-commit hook
lightaime337daddafbc9
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlnew file mode 100644index 000000000..7430dd794--- /dev/null+++ b/.pre-commit-config.yaml@@ -0,0 +1,14 @@+repos:+ - repo: https://github.com/pre-commit/mirrors-yapf+ rev: v0.31.0+ hooks:+ - id: yapf+ args: [--style, "{based_on_style: google, column_limit: 120}"]+ - repo: https://github.com/pre-commit/mirrors-isort+ rev: v5.9.3+ hooks:+ - id: isort+ - repo: https://github.com/pycqa/flake8+ rev: '6.0.0'+ hooks:+ - id: flake8\ No newline at end of filediff --git a/install_env.sh b/install_env.shindex cc8247ab0..2e47f4dff 100644--- a/install_env.sh+++ b/install_env.sh@@ -1,2 +1,4 @@conda create --name camel python=3.10-conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia\ No newline at end of file+conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia+pip install -r requirements.txt+pre-commit install\ No newline at end of filediff --git a/requirements.txt b/requirements.txtindex 3e330669c..bf5816828 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,12 +1,8 @@numpy-rouge_score-fireopenai-transformers>=4.26.1-sentencepiece-tokenizers==0.12.1-wandbtenacitytiktoken-flake8yapf+isort+flake8+pre-commit\ No newline at end of file