From d5a4f58762bedb690971bc858fcf833615ec5a87 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 2 Sep 2020 21:36:09 +1000 Subject: [PATCH] Switch to upstream write-good hook The change has been merged. Change-Id: I67667b4005ebba1d9ab4fed205d41582e49df264 Ref: https://github.com/btford/write-good/pull/119 Signed-off-by: Anil Belur --- .pre-commit-config.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f5aa4ad1..4f9aacc8c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,14 +54,8 @@ repos: hooks: - id: yamllint - - repo: local + - repo: https://github.com/btford/write-good + rev: master 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 -- 2.36.6