Skip to content

Commit

Permalink
Fix lint issues and disable errcheck in bls12381
Browse files Browse the repository at this point in the history
Errcheck was already not checking other impls

Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
  • Loading branch information
Kubuxu committed Sep 20, 2024
1 parent 9628c92 commit 1d434f5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ issues:
- path: "group/edwards25519/scalar.go"
linters:
- ineffassign
- path: "pairing/(circl_bls12381|bn254)/."
- path: "pairing/(bls12381|bn254)/."
linters:
- errcheck #TODO: proper error handling
text: "Error return value is not checked"
Expand Down
1 change: 0 additions & 1 deletion pairing/bls12381/gnark/g1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//nolint:dupl // unavoidable duplication between g1 and g2
package gnark

import (
Expand Down
1 change: 0 additions & 1 deletion pairing/bls12381/gnark/g2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//nolint:dupl // unavoidable duplication between g1 and g2
package gnark

import (
Expand Down

0 comments on commit 1d434f5

Please sign in to comment.