Compare commits
2 commits
77d2c391d9
...
ba36946651
Author | SHA1 | Date | |
---|---|---|---|
ba36946651 | |||
d0227608b6 |
1 changed files with 7 additions and 12 deletions
19
debian/pre-commit-hooks.README.Debian
vendored
19
debian/pre-commit-hooks.README.Debian
vendored
|
@ -17,8 +17,7 @@ configuration file, within the repository they are being run in, like this:
|
||||||
rev: v5.0.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace-fixer
|
- id: trailing-whitespace
|
||||||
- id: name-tests-test
|
|
||||||
[...]
|
[...]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -46,16 +45,12 @@ The above example can be replicated the following way:
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
name: end-of-file-fixer
|
name: end-of-file-fixer
|
||||||
entry: end-of-file-fixer
|
language: python
|
||||||
language: system
|
entry: python3 /usr/lib/python3/dist-packages/pre_commit_hooks/end_of_file_fixer.py
|
||||||
- id: trailing-whitespace-fixer
|
- id: trailing-whitespace
|
||||||
name: trailing-whitespace-fixer
|
name: trailing-whitespace
|
||||||
entry: trailing-whitespace-fixer
|
language: python
|
||||||
language: system
|
entry: python3 /usr/lib/python3/dist-packages/pre_commit_hooks/trailing_whitespace_fixer.py
|
||||||
- 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