Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix linter warnings #1270

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

chore: fix linter warnings #1270

wants to merge 12 commits into from

Conversation

jtieri
Copy link
Member

@jtieri jtieri commented Sep 29, 2024

This PR updates the CI jobs for linting and running tests to use current deps. It also fixes all the linter warnings from golangci-lint.

@jtieri jtieri requested a review from a team as a code owner September 29, 2024 21:46
Copy link

vercel bot commented Sep 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Oct 1, 2024 11:46pm

@jtieri jtieri marked this pull request as draft September 30, 2024 16:21
@jtieri jtieri changed the title chore: fix linter warnings for forbidigo by using logger instead of fmt chore: fix linter warnings Sep 30, 2024
@jtieri jtieri marked this pull request as ready for review October 2, 2024 00:10
"github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest"

"cosmossdk.io/math"

"github.com/cosmos/cosmos-sdk/types"

"github.com/strangelove-ventures/interchaintest/v8"
Copy link
Member

@Reecepbcups Reecepbcups Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional: add optional git hooks for vscode peeps

@@ -112,7 +108,7 @@ func TestDB_Concurrency(t *testing.T) {
for {
if ctx.Err() != nil {
// Context was canceled; querying is finished.
return nil
return nil //nolint: nilerr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove since ignoring this linter type now

@@ -191,7 +192,7 @@ func (tn *ChainNode) NewSidecarProcess(
VolumeName: v.Name,
ImageRef: image.Ref(),
TestName: tn.TestName,
UidGid: image.UidGid,
UIDGID: image.UIDGID,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user breaking - lets until v10 - create ticket for this. Don't want people to have to refactor their test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants