File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,24 @@ repos:
2323 hooks :
2424 - id : typos
2525 args : [--force-exclude]
26+ # Document hooks
2627 - repo : https://github.com/PFCCLab/dochooks
27- # Document hooks
2828 rev : v0.6.0
2929 hooks :
3030 - id : insert-whitespace-between-cn-and-en-char
3131 files : \.md$|\.rst$
3232 - id : check-case-conflict
33+ # For Python files
3334 - repo : https://github.com/astral-sh/ruff-pre-commit
34- # For Python files
3535 rev : v0.13.0
3636 hooks :
3737 - id : ruff-check
3838 args : [--fix, --exit-non-zero-on-fix, --no-cache]
3939 types_or : [python, pyi]
4040 - id : ruff-format
4141 types_or : [python, pyi, jupyter]
42+ # For YAML files
4243 - repo : https://github.com/PFCCLab/yamlfmt-pre-commit-mirror.git
43- # For YAML files
4444 rev : v0.16.0
4545 hooks :
4646 - id : yamlfmt
You can’t perform that action at this time.
0 commit comments