mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
fix(pre-commit): exclude Copier files from yamllint
This commit is contained in:
parent
8403a77893
commit
b425191b4e
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ repos:
|
|||
# 1. SLS files under directory `test/` which are state files
|
||||
# 2. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
|
||||
# 3. YAML files heavily reliant on Jinja
|
||||
# 4. `.copier-answers.yml` and related files which are auto-generated
|
||||
files: |
|
||||
(?x)^(
|
||||
.*\.yaml|
|
||||
|
@ -82,6 +83,7 @@ repos:
|
|||
)$
|
||||
exclude: |
|
||||
(?x)^(
|
||||
\.copier-answers(\..+)?\.ya?ml|
|
||||
kitchen.vagrant.yml|
|
||||
test/.*/states/.*\.sls
|
||||
)$
|
||||
|
|
Loading…
Add table
Reference in a new issue