summaryrefslogtreecommitdiff
path: root/.precious.toml
blob: dac87d0ba2990dbb1a7b854947ec36d90a54bf9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
#
# 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 = "*"
invoke = "once"
ok_exit_codes = [0]
path_args = "none"
type = "lint"

[commands.reuse]
cmd = ["reuse", "lint"]
include = "*"
invoke = "once"
lint_failure_exit_codes = [1]
ok_exit_codes = [0]
path_args = "none"
type = "lint"

[commands.shellcheck]
cmd = ["shellcheck", "--severity=style", "--enable=all"]
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"