Skip to content

Commit

Permalink
ci: increase tokens ratio for dupl to fix false positive scenarios (c…
Browse files Browse the repository at this point in the history
…elestiaorg#314)

* ci: fix dupl false positive

* node: remove nolint:dupl from test

* update changelog-pending.md
  • Loading branch information
Bidon15 authored Dec 23, 2021
1 parent 6035222 commit 509d568
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ linters-settings:
locale: US
goimports:
local-prefixes: github.com/celestiaorg
dupl:
threshold: 200
1 change: 1 addition & 0 deletions CHANGELOG-PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ Month, DD, YYYY

- [header] Added missing `err` value in ErrorW logging calls. @jbowen93
- [service/block, node/p2p] [Fix race conditions in TestExtendedHeaderBroadcast and TestFull_P2P_Streams.](https://github.com/celestiaorg/celestia-node/pull/288) @jenyasd209
- [ci: increase tokens ratio for dupl to fix false positive scenarios](https://github.com/celestiaorg/celestia-node/pull/314) @Bidon15
2 changes: 0 additions & 2 deletions node/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/stretchr/testify/require"
)

//nolint:dupl
func TestRepoBridge(t *testing.T) {
dir := t.TempDir()

Expand Down Expand Up @@ -40,7 +39,6 @@ func TestRepoBridge(t *testing.T) {
assert.NotNil(t, cfg)
}

//nolint:dupl
func TestRepoLight(t *testing.T) {
dir := t.TempDir()

Expand Down

0 comments on commit 509d568

Please sign in to comment.