[QA] Add default configuration for pre commit hooks
This commit is contained in:
parent
e4257ec1f1
commit
2c908a8361
@ -3,7 +3,7 @@ current_version = 0.5.0
|
||||
commit = True
|
||||
tag = True
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
|
||||
serialize =
|
||||
serialize =
|
||||
{major}.{minor}.{patch}
|
||||
|
||||
[bumpversion:file:setup.py]
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -155,4 +155,4 @@ scratch*
|
||||
.vscode/
|
||||
|
||||
reports
|
||||
artifacts
|
||||
artifacts
|
||||
|
10
.pre-commit-config.yaml
Normal file
10
.pre-commit-config.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
# 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.0.1
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
Loading…
Reference in New Issue
Block a user