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:
@@ -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]++
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user