From 4e6d9be82629d5d12dc88963acfcd1f48ffc3676 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 23 Jul 2021 17:27:31 +0200 Subject: [PATCH] ci: fix yamllint error in generated golangci.yml file When running 'make containerized-test' the following error gets reported: yamllint -s -d '{extends: default, rules: {line-length: {allow-non-breakable-inline-mappings: true}},ignore: charts/*/templates/*.yaml}' ./scripts/golangci.yml ./scripts/golangci.yml 179:81 error line too long (84 > 80 characters) (line-length) The golangci.yml.in is used to generate golangci.yml, addressing the line-length there resolves the issue. Signed-off-by: Niels de Vos --- scripts/golangci.yml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 7ede001bb..ecc048cb5 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -176,5 +176,6 @@ linters: - gomoddirectives # TODO: enable gci - gci - # TODO: enable wrapcheck linter, see: https://github.com/ceph/ceph-csi/pull/2268 + # TODO: enable wrapcheck linter + # See: https://github.com/ceph/ceph-csi/pull/2268 - wrapcheck