1 Star 1 Fork 0

CPLABonus/deer-flow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pre-commit 563 Bytes
一键复制 编辑 原始数据 按行查看 历史
He Tao 提交于 2025-04-07 16:25 +08:00 . feat: lite deep researcher implementation
#!/bin/sh
# Run make lint
echo "Running linting..."
make lint
LINT_RESULT=$?
if [ $LINT_RESULT -ne 0 ]; then
echo "❌ Linting failed. Please fix the issues and try committing again."
exit 1
fi
# Run make format
echo "Running formatting..."
make format
FORMAT_RESULT=$?
if [ $FORMAT_RESULT -ne 0 ]; then
echo "❌ Formatting failed. Please fix the issues and try committing again."
exit 1
fi
# If any files were reformatted, add them back to staging
git diff --name-only | xargs -I {} git add "{}"
echo "✅ Pre-commit checks passed!"
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/CPLiu/deer-flow.git
git@gitee.com:CPLiu/deer-flow.git
CPLiu
deer-flow
deer-flow
main

搜索帮助