Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 12e7446

Browse files
committed
Add out-of-the-box pre-commit hooks
1 parent 34a8184 commit 12e7446

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
fail_fast: true
22

33
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.5.0
6+
hooks:
7+
- id: check-json
8+
- id: check-toml
9+
- id: check-yaml
10+
- id: trailing-whitespace
11+
412
- repo: https://github.com/psf/black-pre-commit-mirror
513
rev: 23.11.0
614
hooks:

0 commit comments

Comments
 (0)