Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix yangtools sonar job
[releng/builder.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index bb8d8639c3b5751bcd1c31d9b5095692b3922796..734653f2dc41799d8d8be66e33344b7d1cbaaed0 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-4,21
+4,22
@@
default_language_version:
node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v
3.4.0
+ rev: v
4.0.1
hooks:
- id: check-json
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: check-json
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.
2
.1
+ rev: v2.
4
.1
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/jorisroovers/gitlint
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/jorisroovers/gitlint
- rev: v0.1
5.1
+ rev: v0.1
6.0
hooks:
- id: gitlint
hooks:
- id: gitlint
+ stages: [commit-msg]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
@@
-32,7
+33,7
@@
repos:
)$
- repo: https://github.com/ambv/black
)$
- repo: https://github.com/ambv/black
- rev: 21.
6
b0
+ rev: 21.
10
b0
hooks:
- id: black
hooks:
- id: black
@@
-47,7
+48,7
@@
repos:
hooks:
- id: bandit
# Bandit does not need to run on test code
hooks:
- id: bandit
# Bandit does not need to run on test code
- exclude:
tests/*
+ exclude:
^tests/
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
@@
-55,7
+56,7
@@
repos:
- id: pydocstyle
- repo: https://github.com/adrienverge/yamllint
- id: pydocstyle
- repo: https://github.com/adrienverge/yamllint
- rev: v1.26.
1
+ rev: v1.26.
3
hooks:
- id: yamllint
hooks:
- id: yamllint