Skip to content

Commit 1d434f5

Browse files
committed
Fix lint issues and disable errcheck in bls12381
Errcheck was already not checking other impls Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
1 parent 9628c92 commit 1d434f5

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ issues:
277277
- path: "group/edwards25519/scalar.go"
278278
linters:
279279
- ineffassign
280-
- path: "pairing/(circl_bls12381|bn254)/."
280+
- path: "pairing/(bls12381|bn254)/."
281281
linters:
282282
- errcheck #TODO: proper error handling
283283
text: "Error return value is not checked"

pairing/bls12381/gnark/g1.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//nolint:dupl // unavoidable duplication between g1 and g2
21
package gnark
32

43
import (

pairing/bls12381/gnark/g2.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//nolint:dupl // unavoidable duplication between g1 and g2
21
package gnark
32

43
import (

0 commit comments

Comments
 (0)