Skip to content

Commit 7177c8b

Browse files
authored
[CI] Add 3 more pre-commit hooks (apache#1306)
Added 3 more official hooks: https://github.com/pre-commit/pre-commit-hooks Minor addition
1 parent 4fbf2e1 commit 7177c8b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ repos:
7878
- id: check-vcs-permalinks
7979
name: run check-vcs-permalinks
8080
description: ensures that links to vcs websites are permalinks
81+
- id: check-xml
82+
name: run check-xml
83+
description: attempts to load all xml files to verify syntax
84+
- id: check-yaml
85+
name: run check-yaml
86+
description: attempts to load all yaml files to verify syntax
87+
- id: debug-statements
88+
name: run debug-statements
89+
description: check for debugger imports and py37+ `breakpoint()` calls in python source.
8190
- id: detect-private-key
8291
name: run detect-private-key
8392
description: checks for the existence of private keys

0 commit comments

Comments
 (0)