From 4e2c1374a6babb7fb9e7c52091ccb6d18153bbfe Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 3 Feb 2023 00:39:52 +0100 Subject: [PATCH] Improvements in repository management --- .pre-commit-config.yaml | 9 ++++----- .vscode/settings.json | 1 + .yamllint.yaml | 9 +++++++++ 3 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 .yamllint.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ce77362..aa40f21 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,10 @@ repos: - id: markdownlint args: - -r "~MD013" # ignore line-length rule - - repo: https://github.com/ansible-community/ansible-lint - rev: v6.11.0 - hooks: - - id: ansible-lint - exclude: cloud-init/ + # - repo: https://github.com/ansible-community/ansible-lint # FIXME: figure this out, too many stupid issues + # rev: v6.12.0 + # hooks: + # - id: ansible-lint - repo: https://github.com/hadolint/hadolint rev: v2.12.1-beta hooks: diff --git a/.vscode/settings.json b/.vscode/settings.json index e9a030d..3dcaa78 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,6 +37,7 @@ "polkit", "pvresize", "radeon", + "replicatedctl", "rootlv", "rootvg", "runcmd", diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..32a11a6 --- /dev/null +++ b/.yamllint.yaml @@ -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