X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=1ca40ed0cd87e81b464d20952b5c7b410cc1e64a;hb=0673d0736a8df6f50fc1bdc58e8eda95fa99d388;hp=9f5aa4ad1fcaf6f7f3ac474b9010d44d9e8112b8;hpb=853876f42d8d8269a056c56eecc91f459e6edfbd;p=releng%2Fbuilder.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f5aa4ad1..1ca40ed0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,7 @@ --- +default_language_version: + python: python3 + node: "14.13.0" repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.5.0 @@ -6,8 +9,8 @@ repos: - id: check-json - id: trailing-whitespace - - repo: https://github.com/prettier/prettier - rev: 2.0.5 + - repo: https://github.com/prettier/pre-commit + rev: v2.1.2 hooks: - id: prettier @@ -17,7 +20,7 @@ repos: - id: gitlint - repo: https://github.com/jumanjihouse/pre-commit-hooks - sha: 2.0.2 + rev: 2.0.2 hooks: - id: shellcheck exclude: > @@ -54,14 +57,8 @@ repos: hooks: - id: yamllint - - repo: local + - repo: https://github.com/btford/write-good + rev: v1.0.3 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