Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Revert "chore: update pre commit config (#3641)"

Wendong-Fan7da3ecf06ffe
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 360832787..eabd4719a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,10 +12,10 @@ repos:
hooks:
- id: mypy
name: Check mypy
- entry: uv run mypy --namespace-packages
+ entry: uv run mypy --namespace-packages -p camel -p test -p apps
language: system
types: [python]
- pass_filenames: true
+ pass_filenames: false
require_serial: true
exclude: ^(docs/|examples/usecases/) # Ignore files under docs and examples/usecases
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 69a7c3131..7cc027969 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -318,7 +318,7 @@ uv pip install -e ".[all, dev, docs]"
pre-commit install
# Run camel's pre-commit before push
-pre-commit run
+pre-commit run --all-files
# Exit the virtual environment
deactivate