Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Update verify-images script to avoid dirs
[releng/global-jjb.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index
188d28f
..
03a70e3
100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-1,7
+1,9
@@
---
---
+# SPDX-FileCopyrightText: 2017 The Linux Foundation
+# SPDX-License-Identifier: EPL-1.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.
0.1
+ rev: v4.
5.0
hooks:
- id: trailing-whitespace
- id: no-commit-to-branch
hooks:
- id: trailing-whitespace
- id: no-commit-to-branch
@@
-10,28
+12,28
@@
repos:
- --branch=main
- repo: https://github.com/pre-commit/mirrors-prettier
- --branch=main
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v
2.3.2
+ rev: v
4.0.0-alpha.8
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
9
.1
hooks:
- id: gitlint
- repo: https://github.com/adrienverge/yamllint.git
hooks:
- id: gitlint
- repo: https://github.com/adrienverge/yamllint.git
- rev: v1.
26.3
+ rev: v1.
35.1
hooks:
- id: yamllint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
hooks:
- id: yamllint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
- rev:
2.1.5
+ rev:
3.0.0
hooks:
- id: shellcheck
- repo: https://github.com/btford/write-good
hooks:
- id: shellcheck
- repo: https://github.com/btford/write-good
- rev: v1.0.
4
+ rev: v1.0.
8
hooks:
- id: write-good
exclude: >
hooks:
- id: write-good
exclude: >
@@
-43,7
+45,7
@@
repos:
)$
- repo: https://github.com/btford/write-good
)$
- repo: https://github.com/btford/write-good
- rev: v1.0.
4
+ rev: v1.0.
8
hooks:
# Files listed below break the following write-good rules:
# - adverb weakens meaning
hooks:
# Files listed below break the following write-good rules:
# - adverb weakens meaning
@@
-59,7
+61,7
@@
repos:
files: docs/jjb/lf-ci-jobs.rst
- repo: https://github.com/btford/write-good
files: docs/jjb/lf-ci-jobs.rst
- repo: https://github.com/btford/write-good
- rev: v1.0.
4
+ rev: v1.0.
8
hooks:
# Files listed below break the following write-good rules:
# - is wordy or unneeded
hooks:
# Files listed below break the following write-good rules:
# - is wordy or unneeded
@@
-77,3
+79,8
@@
repos:
docs/jjb/lf-macros.rst|
docs/jjb/lf-python-jobs.rst
)$
docs/jjb/lf-macros.rst|
docs/jjb/lf-python-jobs.rst
)$
+
+ - repo: https://github.com/fsfe/reuse-tool
+ rev: bafd6d7683dec1189d7a477489f6b8770bffc0dd # frozen: v3.0.2
+ hooks:
+ - id: reuse