Skip to content

Commit

Permalink
Ignore slightly above cogn. complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Aug 19, 2024
1 parent 9482740 commit 0b262c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pairing/bls12381/bls12381_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ func BenchmarkCircl(b *testing.B) {
BDNBenchmark(b, "circl")
}

//nolint: gocyclo // 31 instead of 30, breaking this down doesn't make sense
func BDNBenchmark(b *testing.B, curveOption string) {

Check failure on line 678 in pairing/bls12381/bls12381_test.go

View workflow job for this annotation

GitHub Actions / lint

calculated cyclomatic complexity for function BDNBenchmark is 32, max is 30 (cyclop)
b.Logf("----------------------")
b.Logf("Payload to sign: %d bytes\n", dataSize)
Expand Down

0 comments on commit 0b262c6

Please sign in to comment.