Skip to content

Commit bff753b

Browse files
chore(CI): fix lint errors (#306)
## Problem Lint tests are failing. ## Solution Fix lint errors.
1 parent 8c5987e commit bff753b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ run:
22
tests: false
33
skip-dirs:
44
- contrib
5+
- sim
56

67
linters-settings:
78
lll:

z/allocator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func init() {
5757

5858
// Set up a unique Ref per process.
5959
rand.Seed(time.Now().UnixNano())
60-
allocRef = uint64(rand.Int63n(1<<16)) << 48
60+
allocRef = uint64(rand.Int63n(1<<16)) << 48 //nolint:gosec // cryptographic precision not needed
6161

6262
calculatedLog2 = make([]int, 1025)
6363
for i := 1; i <= 1024; i++ {

0 commit comments

Comments
 (0)