Improvements in repository management

This commit is contained in:
Michele Cereda
2023-02-03 00:39:52 +01:00
parent edbf525b6b
commit 4e2c1374a6
3 changed files with 14 additions and 5 deletions

View File

@@ -18,11 +18,10 @@ repos:
- id: markdownlint - id: markdownlint
args: args:
- -r "~MD013" # ignore line-length rule - -r "~MD013" # ignore line-length rule
- repo: https://github.com/ansible-community/ansible-lint # - repo: https://github.com/ansible-community/ansible-lint # FIXME: figure this out, too many stupid issues
rev: v6.11.0 # rev: v6.12.0
hooks: # hooks:
- id: ansible-lint # - id: ansible-lint
exclude: cloud-init/
- repo: https://github.com/hadolint/hadolint - repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta rev: v2.12.1-beta
hooks: hooks:

View File

@@ -37,6 +37,7 @@
"polkit", "polkit",
"pvresize", "pvresize",
"radeon", "radeon",
"replicatedctl",
"rootlv", "rootlv",
"rootvg", "rootvg",
"runcmd", "runcmd",

9
.yamllint.yaml Normal file
View File

@@ -0,0 +1,9 @@
---
# See https://yamllint.readthedocs.io/en/stable/configuration.html for
# more information
extends: default
rules:
line-length:
allow-non-breakable-inline-mappings: true
max: 120