Compare commits
2 commits
ba36946651
...
77d2c391d9
Author | SHA1 | Date | |
---|---|---|---|
77d2c391d9 | |||
9040cd9fdb |
1 changed files with 12 additions and 7 deletions
19
debian/pre-commit-hooks.README.Debian
vendored
19
debian/pre-commit-hooks.README.Debian
vendored
|
@ -17,7 +17,8 @@ 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
|
||||
- id: trailing-whitespace-fixer
|
||||
- id: name-tests-test
|
||||
[...]
|
||||
---
|
||||
|
||||
|
@ -45,12 +46,16 @@ The above example can be replicated the following way:
|
|||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
name: end-of-file-fixer
|
||||
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
|
||||
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
|
||||
[...]
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue