diff options
-rw-r--r-- | .precious.toml | 15 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/.precious.toml b/.precious.toml index 89e21de..9727732 100644 --- a/.precious.toml +++ b/.precious.toml @@ -2,6 +2,14 @@ # # SPDX-License-Identifier: AGPL-3.0-only +[commands.ansiblelint] +cmd = ["ansible-lint", "-q"] +include = "*" +invoke = "once" +ok_exit_codes = [0] +path_args = "none" +type = "lint" + [commands.gitlint] cmd = ["gitlint"] include = "*" @@ -25,10 +33,3 @@ include = ["hooks/*"] lint_failure_exit_codes = [1] ok_exit_codes = [0] type = "lint" - -[commands.yamllint] -cmd = ["yamllint", "--strict"] -include = ["*.yaml"] -lint_failure_exit_codes = [1, 2] -ok_exit_codes = [0] -type = "lint" @@ -79,11 +79,11 @@ make prod We provide sample git hooks in the `hooks` directory. To use these, ensure the following packages are installed: +* ansible-lint * gitlint * precious * reuse * shellcheck -* yamllint ```shell $ git config core.hooksPath hooks |