Skip to content

Commit b7fa2ae

Browse files
committed
Copy pygrep-hooks from pybind11/.pre-commit-config.yaml
1 parent 5307eec commit b7fa2ae

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.pre-commit-config.yaml

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

42+
# Checking for common mistakes
43+
- repo: https://github.com/pre-commit/pygrep-hooks
44+
rev: "v1.10.0"
45+
hooks:
46+
- id: rst-backticks
47+
- id: rst-directive-colons
48+
- id: rst-inline-touching-normal
49+
4250
- repo: https://github.com/PyCQA/bandit
4351
rev: 2d0b675b04c80ae42277e10500db06a0a37bae17 # frozen: 1.8.6
4452
hooks:

0 commit comments

Comments
 (0)