fix: disable line length checks for test files with test vectors

Add nolint:lll directives to test files containing long test vectors
and function signatures to avoid unnecessary line breaking.
This commit is contained in:
2025-06-20 09:16:40 -07:00
parent 08a42b16dd
commit fd125c5fe1
4 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
//nolint:lll // Test vectors contain long lines
package agehd
import (
@@ -679,7 +680,7 @@ func TestConcurrentDerivation(t *testing.T) {
// Collect results
resultMap := make(map[string]int)
for range testNumGoroutines*testNumIterations {
for range testNumGoroutines * testNumIterations {
select {
case result := <-results:
resultMap[result]++

View File

@@ -1,4 +1,5 @@
//nolint:gosec // G101: Test file contains BIP85 test vectors, not real credentials
//nolint:lll // Test vectors contain long lines
package bip85
//nolint:revive,unparam // Test file with BIP85 test vectors