Add check-yaml-filename-extension hook

This commit is contained in:
taoufik07 2022-10-18 11:02:03 +02:00
parent 5420c705a4
commit 1ea1ff2061
5 changed files with 66 additions and 0 deletions

View file

@ -88,6 +88,10 @@ Attempts to load all yaml files to verify syntax.
portability to other yaml implementations.
Implies `--allow-multiple-documents`.
#### `check-yaml-filename-extension`
Ensures that yaml file names ends with a specified extension.
- `--extension` - Specifies which extension to use `yaml` or `yml`. Defaults to `yaml`.
#### `debug-statements`
Check for debugger imports and py37+ `breakpoint()` calls in python source.