Skip to content

Commit

Permalink
chore(CI): fix lint errors (#306)
Browse files Browse the repository at this point in the history
## Problem

Lint tests are failing.

## Solution

Fix lint errors.
  • Loading branch information
joshua-goldstein committed Oct 10, 2022
1 parent 8c5987e commit bff753b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ run:
tests: false
skip-dirs:
- contrib
- sim

linters-settings:
lll:
Expand Down
2 changes: 1 addition & 1 deletion z/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func init() {

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

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

0 comments on commit bff753b

Please sign in to comment.