Add basic pre-commit config
This commit is contained in:
parent
e547abccea
commit
f7c54f0ee5
1 changed files with 15 additions and 0 deletions
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
args: [--unsafe]
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/teemtee/tmt.git
|
||||
rev: "1.31.0"
|
||||
hooks:
|
||||
- id: tmt-lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue