Skip to content

Commit aa4b6b0

Browse files
Apply repo-review rule PC100
PC100: Has pre-commit-hooks Must have https://github.com/pre-commit/pre-commit-hooks repo in .pre-commit-config.yaml
1 parent 721d5d4 commit aa4b6b0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
exclude: ^fixture/
12
ci:
23
autoupdate_commit_msg: "chore: update pre-commit hooks"
34
autofix_commit_msg: "style: pre-commit fixes"
@@ -6,8 +7,15 @@ default_stages: [commit, push]
67
default_language_version:
78
python: python3
89
repos:
10+
- repo: https://github.com/pre-commit/pre-commit-hooks
11+
rev: v4.6.0
12+
hooks:
13+
- id: trailing-whitespace
14+
- id: check-yaml
15+
- id: debug-statements
16+
917
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: 'v0.5.2'
18+
rev: v0.5.2
1119
hooks:
1220
- id: ruff
1321
args: ["--fix", "--show-fixes"]

0 commit comments

Comments
 (0)