luh*_*hao 3 python pre-commit pre-commit.com
这是.pre-commit-config.yaml
来自预提交的。
它将 git 克隆指定的rev
git 存储库。
我怎样才能忽略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)