Skip to content

Commit 6a4b828

Browse files
committed
safety + other checks in pre-commit
1 parent 571c845 commit 6a4b828

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
@@ -15,11 +15,28 @@ repos:
1515
hooks:
1616
- id: blackt
1717

18+
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
19+
rev: v1.3.2
20+
hooks:
21+
- id: python-safety-dependencies-check
22+
files: pyproject.toml
23+
1824
- repo: https://github.com/pre-commit/pre-commit-hooks
1925
rev: v4.5.0
2026
hooks:
2127
- id: trailing-whitespace
2228
- id: end-of-file-fixer
29+
- id: check-case-conflict
30+
- id: check-executables-have-shebangs
31+
- id: check-json
32+
- id: check-merge-conflict
33+
- id: check-shebang-scripts-are-executable
34+
- id: check-symlinks
35+
- id: check-toml
36+
- id: check-vcs-permalinks
37+
- id: check-yaml
38+
- id: detect-private-key
39+
- id: mixed-line-ending
2340

2441
- repo: https://github.com/boidolr/pre-commit-images
2542
rev: v1.5.1

0 commit comments

Comments
 (0)