Skip to content

Conversation

faddat
Copy link
Contributor

@faddat faddat commented May 19, 2024

Lint tests so that the codebase is consistently linted

  • bump golangci-lint
  • lint tests
  • add gci linter
  • enable errcheck linter

@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs labels May 19, 2024
@faddat faddat changed the title Update .golangci.yml chore: Update .golangci.yml May 19, 2024
@faddat faddat changed the title chore: Update .golangci.yml chore: lint tests May 19, 2024
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

Can we revert the import grouping changes please? Or add that linter that keeps it standard (and the standard being was it was)

@faddat
Copy link
Contributor Author

faddat commented May 19, 2024

gci is that linter, and it is configured in its standard way.

We could also configure it to group like how was done in ibc, or sdk.

Ah, yeah I think I know exactly what you're looking for after checking the changeset.... moment

@faddat faddat marked this pull request as ready for review May 19, 2024 17:16
@faddat faddat marked this pull request as draft May 19, 2024 17:24
@faddat
Copy link
Contributor Author

faddat commented May 19, 2024

@julienrbrt I think that checking errors found a bug. To make this easier to review, I'll separate the gci changes.

faddat and others added 5 commits May 21, 2024 09:22
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Co-authored-by: Danilo Pantani <danpantani@gmail.com>
@faddat
Copy link
Contributor Author

faddat commented May 21, 2024

@Pantani - actually that makes sense! Let me fix that issue with the import ordering.

Thanks for pointing it out.

@faddat
Copy link
Contributor Author

faddat commented May 21, 2024

recommend merging this first:

@Pantani
Copy link
Collaborator

Pantani commented May 21, 2024

great!! thanks for contributing @faddat

@Pantani
Copy link
Collaborator

Pantani commented May 27, 2024

@faddat, there are some merge conflicts. I think the problem is because the cleanup method into the cosmosbuf pkg was removed

Pantani added 3 commits May 28, 2024 22:30
# Conflicts:
#	ignite/internal/plugin/testdata/execute_fail/go.mod
#	ignite/internal/plugin/testdata/execute_ok/go.mod
#	ignite/services/chain/init.go
#	integration/node/cmd_query_bank_test.go
#	integration/node/cmd_tx_bank_send_test.go
#	integration/plugin/testdata/example-plugin/go.mod
Pantani
Pantani previously approved these changes Jun 26, 2024
@Pantani Pantani requested a review from julienrbrt June 26, 2024 22:25
@julienrbrt julienrbrt added the skip-changelog Don't check changelog for new entries label Jun 28, 2024
@julienrbrt julienrbrt enabled auto-merge (squash) July 10, 2024 20:04
@julienrbrt julienrbrt merged commit 4135601 into ignite:main Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ci CI/CD workflow and automated jobs. component:cmd component:configs component:packages skip-changelog Don't check changelog for new entries type:internal type:services Service-related issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants