diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 17f24bf..0ae9df1 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -6,3 +6,5 @@ language: python pass_filenames: False always_run: True + additional_dependencies: + - .[ansible-core] diff --git a/docs/content/usage/configuration.md b/docs/content/usage/configuration.md index 78deb6e..e9562be 100644 --- a/docs/content/usage/configuration.md +++ b/docs/content/usage/configuration.md @@ -119,8 +119,8 @@ To use _ansible-doctor_ with the [pre-commit](https://pre-commit.com/) framework {{< highlight yaml "linenos=table" >}} - repo: https://github.com/thegeeklab/ansible-doctor - # change ref to the latest release from https://github.com/thegeeklab/ansible-doctor/releases - rev: v1.4.8 + # update version with `pre-commit autoupdate` + rev: v4.0.4 hooks: - id: ansible-doctor {{< /highlight >}}