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

fix: pre-commit mypy hook to use project dependencies (#2855)

Lei Zhanga57c2c6889d8
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 82170f375..9509f01ce 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,8 +12,8 @@ repos:
hooks:
- id: mypy
name: Check mypy
- entry: mypy --namespace-packages -p camel -p test -p apps
- language: python
+ entry: uv run mypy --namespace-packages -p camel -p test -p apps
+ language: system
types: [python]
pass_filenames: false
require_serial: true