feat: add conventional commit check

This commit is contained in:
Tomas Peterka 2024-02-26 13:48:02 +01:00
parent aae27b8a3e
commit 51be90a152
2 changed files with 17 additions and 0 deletions

View file

@ -87,6 +87,12 @@ Attempts to load all yaml files to verify syntax.
portability to other yaml implementations.
Implies `--allow-multiple-documents`.
#### `conventional-commit-msg`
Check if the top line of a commit message follows the
[conventional rules](https://www.conventionalcommits.org/en/v1.0.0/).
The message is expected in format: `type(scope)?: description (body)? (footer)?`
Where description is in lowercase, present tense, and no period at the end.
#### `debug-statements`
Check for debugger imports and py37+ `breakpoint()` calls in python source.