From 04b5eef606eee36eceba17367cc3a506eeb1faf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B8=D0=BD=D0=B5=D0=BB=D1=8C=D0=BD=D0=B8=D0=BA=20?= =?UTF-8?q?=D0=A2=D0=B8=D0=BC=D1=83=D1=80=20=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=B8=D1=87?= Date: Thu, 6 Nov 2025 14:26:50 +0300 Subject: [PATCH] MSP-6673 Up lint --- .golangci.yml | 1 + tests/access_list_test.go | 1 + tests/app_group_test.go | 1 + tests/application_test.go | 1 + tests/baseline_test.go | 1 + tests/secure_test.go | 1 + 6 files changed, 6 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 1eb1666..e046eb8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,6 +17,7 @@ linters: - tagalign # не всегда имеет смысл - varnamelen # очень индивидуально (db) - wsl # расставление пробелов очень индивидуально + - wsl_v5 # расставление пробелов очень индивидуально settings: cyclop: max-complexity: 15 # по умолчанию 10 мало diff --git a/tests/access_list_test.go b/tests/access_list_test.go index 71422b8..25d388b 100644 --- a/tests/access_list_test.go +++ b/tests/access_list_test.go @@ -26,6 +26,7 @@ func TestAccessListSuite(t *testing.T) { type AccessListSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb api *client.Client diff --git a/tests/app_group_test.go b/tests/app_group_test.go index bc4eab0..fa6ea07 100644 --- a/tests/app_group_test.go +++ b/tests/app_group_test.go @@ -26,6 +26,7 @@ func TestApplicationGroupSuite(t *testing.T) { type AppGroupSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb domainRepo repository.Domain diff --git a/tests/application_test.go b/tests/application_test.go index 39209f0..9d83588 100644 --- a/tests/application_test.go +++ b/tests/application_test.go @@ -26,6 +26,7 @@ func TestApplicationSuite(t *testing.T) { type ApplicationSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb domainRepo repository.Domain diff --git a/tests/baseline_test.go b/tests/baseline_test.go index 739ae4c..33e9f40 100644 --- a/tests/baseline_test.go +++ b/tests/baseline_test.go @@ -22,6 +22,7 @@ func TestBaselineSuite(t *testing.T) { type BaselineSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb baseline baseline.Service diff --git a/tests/secure_test.go b/tests/secure_test.go index bd0d8fb..ed3eefb 100644 --- a/tests/secure_test.go +++ b/tests/secure_test.go @@ -26,6 +26,7 @@ func TestSecureSuite(t *testing.T) { type SecureSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb api *client.Client