Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
新增了pre-commit的hook,在开发者提交前进行oat检查提前拦截不合规的代码
开发者
减少不合规代码的上库compile次数,提前帮助开发者识别问题
使用pre-commit的hook来拦截git提交行为,通过脚本与yaml定义规则进行oat check
/assign
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
新增了pre-commit的hook,在开发者提交前进行oat检查提前拦截不合规的代码
Origin(信息来源)
开发者
Benefit / Necessity (价值/作用)
减少不合规代码的上库compile次数,提前帮助开发者识别问题
Design(设计方案)
使用pre-commit的hook来拦截git提交行为,通过脚本与yaml定义规则进行oat check