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

@ -95,6 +95,12 @@
entry: check-yaml
language: python
types: [yaml]
- id: check-yaml-filename-extension
name: check yaml filename extension
description: checks that yaml file names ends with specified extension.
entry: check-yaml-filename-extension
language: python
types: [yaml]
- id: debug-statements
name: debug statements (python)
description: checks for debugger imports and py37+ `breakpoint()` calls in python source.