add check-yaml-sorted script and tests

This commit is contained in:
Ryan Downing 2023-11-19 22:10:56 -05:00
parent 6306a48f7d
commit 5b166227c9
5 changed files with 165 additions and 0 deletions

View file

@ -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.