Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit da7c0a0

Browse files
committedMar 7, 2025
build: specify pre-commit stage on all hooks
1 parent 6244438 commit da7c0a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎.pre-commit-config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,36 @@ repos:
44
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
7+
stages: [pre-commit]
78
- id: end-of-file-fixer
9+
stages: [pre-commit]
810
- id: check-added-large-files
11+
stages: [pre-commit]
912
- id: check-toml
13+
stages: [pre-commit]
1014
- id: check-yaml
15+
stages: [pre-commit]
1116

1217
- repo: https://github.com/astral-sh/ruff-pre-commit
1318
rev: v0.9.9
1419
hooks:
1520
- id: ruff
1621
args: [--fix]
22+
stages: [pre-commit]
1723
- id: ruff-format
24+
stages: [pre-commit]
1825

1926
- repo: https://codeberg.org/frnmst/md-toc
2027
rev: 9.0.0
2128
hooks:
2229
- id: md-toc
30+
stages: [pre-commit]
2331

2432
- repo: https://github.com/tox-dev/tox-ini-fmt
2533
rev: "1.5.0"
2634
hooks:
2735
- id: tox-ini-fmt
36+
stages: [pre-commit]
2837

2938
- repo: https://github.com/compilerla/conventional-pre-commit
3039
rev: v4.0.0

0 commit comments

Comments
 (0)
Please sign in to comment.