X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=f08ce2534cef9e31611b75b8ea53ac2f1f0d7488;hb=769e949ea29cfa694c52df91e77beb0863972e29;hp=275074f2d44a88f5549359bbb11c95cef7806d6a;hpb=a054d09de44509cd925b514c8082f38e87a5da95;p=releng%2Fbuilder.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 275074f2d..f08ce2534 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.1 + rev: v2.5.0 hooks: - id: check-json - id: flake8 @@ -10,12 +10,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/jorisroovers/gitlint - rev: v0.11.0 + rev: v0.13.1 hooks: - id: gitlint - repo: https://github.com/jumanjihouse/pre-commit-hooks - sha: 1.11.0 + sha: 2.0.2 hooks: - id: shellcheck exclude: > @@ -25,6 +25,18 @@ repos: )$ - repo: https://github.com/adrienverge/yamllint - rev: v1.15.0 + rev: v1.23.0 hooks: - id: yamllint + + - repo: local + hooks: + # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged. + - id: write-good + name: write-good + description: Check docs for English prose with write-good + entry: write-good + language: node + files: "\\.(rst|md|markdown|mdown|mkdn)$" + additional_dependencies: ["write-good"] + exclude: docs/jenkins.rst