Skip to content

Commit 1b98b56

Browse files
committed
Add pre-commit-hooks to pre-commit config
1 parent 7212f43 commit 1b98b56

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@ default_language_version:
22
python: python3
33

44
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: "v5.0.0"
7+
hooks:
8+
- id: check-added-large-files
9+
args: ["--maxkb=1024"]
10+
- id: check-case-conflict
11+
- id: check-docstring-first
12+
- id: check-executables-have-shebangs
13+
- id: check-json
14+
- id: check-merge-conflict
15+
- id: check-toml
16+
- id: check-yaml
17+
args: ["--allow-multiple-documents"]
18+
- id: debug-statements
19+
- id: detect-private-key
20+
- id: mixed-line-ending
21+
522
- repo: https://github.com/asottile/pyupgrade
623
rev: "v3.19.0"
724
hooks:

0 commit comments

Comments
 (0)