Skip to content

Commit af6b38e

Browse files
authored
Add more pre-commit hooks (#1024)
1 parent a6887d3 commit af6b38e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,21 @@ repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
77
rev: v5.0.0
88
hooks:
9-
- id: trailing-whitespace
10-
- id: end-of-file-fixer
11-
- id: check-yaml
129
- id: check-added-large-files
10+
- id: check-ast
11+
- id: check-builtin-literals
12+
- id: check-docstring-first
13+
- id: check-executables-have-shebangs
14+
- id: check-merge-conflict
15+
- id: check-symlinks
16+
- id: check-toml
17+
- id: check-yaml
18+
- id: debug-statements
19+
- id: end-of-file-fixer
20+
- id: mixed-line-ending
21+
- id: name-tests-test
22+
- id: requirements-txt-fixer
23+
- id: trailing-whitespace
1324
- repo: https://github.com/astral-sh/ruff-pre-commit
1425
rev: v0.11.2 # ruff version
1526
hooks:

0 commit comments

Comments
 (0)