python formatter check 源码

compel_42031 11 0 ZIP 2021-04-04 20:04:02

Python Formatter检查 使用Black作为格式器来验证代码格式(Python)的操作。 验证将应用于新的或修改的代码(当前PR中所做的更改)。 输入项 branch 必需要评估的分支或标签的名称。默认为"staging" 。 用法示例 uses : lendingfront/python-formatter-check@main with : branch : ' main ' 注意:使用此操作检查格式之前,请先克隆存储库 - name : Checkout branch uses : actions/checkout@v2 - name : Python Formatter Check uses : lendingfront/python-formatter-check@main with : branch : ' main

用户评论
请输入评论内容
评分:
暂无评论