luh*_*hao 3 python pre-commit pre-commit.com
这是.pre-commit-config.yaml来自预提交的。
它将 git 克隆指定的revgit 存储库。
我怎样才能忽略rev并始终 git clone 最新的?
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1289 次 |
| 最近记录: |