Add "lint" stage in pipeline
What does this MR do and why?
Resolve https://jihulab.com/gitlab-cn/gitlab/-/issues/3254
在 Pipeline 中增加对代码格式的检查。使用 Black 和 Flake8 两个格式检查工具。
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 路志远 编辑于