参考资料:官方文档1. pre-commit 原理在git commit 前进行代码检查的解决方案 ... 我们需要编写 .git/hooks/pre-commit 脚本,执行flake8/yapf 等代码检查工作。
確定! 回上一頁