Skip to content

Commit ab91593

Browse files
committed
Copy pre-commit-hooks "Standard hooks" from pybind11/.pre-commit-config.yaml
1 parent 17e09bf commit ab91593

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ repos:
3939
pass_filenames: false
4040
always_run: true
4141

42+
# Standard hooks
43+
- repo: https://github.com/pre-commit/pre-commit-hooks
44+
rev: "v5.0.0"
45+
hooks:
46+
- id: check-added-large-files
47+
- id: check-case-conflict
48+
- id: check-docstring-first
49+
- id: check-merge-conflict
50+
- id: check-symlinks
51+
- id: check-toml
52+
- id: check-yaml
53+
- id: debug-statements
54+
- id: end-of-file-fixer
55+
- id: mixed-line-ending
56+
- id: requirements-txt-fixer
57+
- id: trailing-whitespace
58+
4259
# Checking for common mistakes
4360
- repo: https://github.com/pre-commit/pygrep-hooks
4461
rev: "v1.10.0"

0 commit comments

Comments
 (0)