X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=03a70e34e83294ba95d2034498e4cd6538e54927;hb=refs%2Fheads%2Fmaster;hp=4738b01c6e2c4dc27b4eb158eb73e3e85d89575a;hpb=2866593326538d6cba981820f0e9b5ba99189492;p=releng%2Fglobal-jjb.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4738b01c..03a70e34 100644 --- 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 - rev: v4.2.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: no-commit-to-branch @@ -10,23 +12,23 @@ repos: - --branch=main - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.6.2 + rev: v4.0.0-alpha.8 hooks: - id: prettier stages: [commit] - repo: https://github.com/jorisroovers/gitlint - rev: v0.17.0 + rev: v0.19.1 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 - rev: 2.1.6 + rev: 3.0.0 hooks: - id: shellcheck @@ -77,3 +79,8 @@ repos: 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