mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
add check-yaml-sorted script and tests
This commit is contained in:
parent
6306a48f7d
commit
5b166227c9
5 changed files with 165 additions and 0 deletions
|
|
@ -95,6 +95,12 @@
|
|||
entry: check-yaml
|
||||
language: python
|
||||
types: [yaml]
|
||||
- id: check-yaml-sorted
|
||||
name: check yaml sorted
|
||||
description: checks top-level items of yaml files are sorted.
|
||||
entry: check-yaml-sorted
|
||||
language: python
|
||||
types: [yaml]
|
||||
- id: debug-statements
|
||||
name: debug statements (python)
|
||||
description: checks for debugger imports and py37+ `breakpoint()` calls in python source.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue