From 7ddda35a2c18469c0e68031662e02b71774ef773 Mon Sep 17 00:00:00 2001 From: Willie Miller <491022+willienillie@users.noreply.github.com> Date: Thu, 22 Apr 2021 17:06:04 -0400 Subject: [PATCH] Update version in pre-commit example The old version in the example was not working for me. ```pre-commit install --install-hooks pre-commit installed at .git/hooks/pre-commit [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-yapf. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-pylint. [INFO] Initializing environment for https://github.com/APIDevTools/swagger-cli. An error has occurred: InvalidManifestError: =====> //.cache/pre-commit/repobjoiqw90/.pre-commit-hooks.yaml does not exist Check the log at / //.cache/pre-commit/pre-commit.log Updating to the latest, v4.0.4 version worked. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5c66ce..9b466b8 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ There is a useful Python tool called [pre-commit](https://pre-commit.com/) that ``` - repo: https://github.com/APIDevTools/swagger-cli - rev: v2.2.1 + rev: v4.0.4 hooks: - id: swagger-validation args: ["validate", ""]