mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-06-28 21:50:46 +00:00
docs: add check-dco to README hooks list
This commit is contained in:
parent
0b79656568
commit
c1dde8ef3f
1 changed files with 7 additions and 0 deletions
|
|
@ -45,6 +45,12 @@ Require literal syntax when initializing empty or zero Python builtin types.
|
|||
#### `check-case-conflict`
|
||||
Check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT.
|
||||
|
||||
#### `check-dco`
|
||||
Verifies that commit messages contain a valid ``Signed-off-by: Name <email>``
|
||||
line per the `Developer Certificate of Origin <https://developercertificate.org/>`__.
|
||||
- This hook runs in the ``commit-msg`` stage to catch missing sign-offs
|
||||
before they're pushed.
|
||||
|
||||
#### `check-executables-have-shebangs`
|
||||
Checks that non-binary executables have a proper shebang.
|
||||
|
||||
|
|
@ -212,3 +218,4 @@ Trims trailing whitespace.
|
|||
If you'd like to use these hooks, they're also available as a standalone package.
|
||||
|
||||
Simply `pip install pre-commit-hooks`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue