1
0
Fork 0

Compare commits

..

2 commits

Author SHA1 Message Date
ba36946651
Releasing debian version 5.0.0+dfsg-4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-04-21 12:59:38 +02:00
d0227608b6
Adding README.Debian to explain the basic usage of pre-commit-hooks (Closes: #1093805).
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-04-21 12:59:28 +02:00

View file

@ -17,8 +17,7 @@ configuration file, within the repository they are being run in, like this:
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace-fixer
- id: name-tests-test
- id: trailing-whitespace
[...]
---
@ -46,16 +45,12 @@ The above example can be replicated the following way:
hooks:
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
language: system
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
language: system
- id: name-tests-test
name: name-tests-test
entry: name-test-test
language: system
language: python
entry: python3 /usr/lib/python3/dist-packages/pre_commit_hooks/end_of_file_fixer.py
- id: trailing-whitespace
name: trailing-whitespace
language: python
entry: python3 /usr/lib/python3/dist-packages/pre_commit_hooks/trailing_whitespace_fixer.py
[...]
---