Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Human Summary
Add bash script to add goimports-reviser import grouping excluding files where scaffolding comments are in the import area. This may need to be improved upon in fututre but its a start at least.
I also include all the changes it makes.
AI Summary
Summary generated by Reviewpad on 17 Dec 23 01:52 UTC
This pull request includes the following changes:
relay.go
:"crypto/sha256"
has been updated to be imported within parentheses.getSignableBytes
has not been modified.pkg/relayer/session/errors.go
:cosmossdk.io/errors
.codespace
now has the value"relayer_session"
.require.go
in thetestutil/testerrors
package:errorsmod
from the import statementcosmossdk.io/errors
has been imported.template.go
in thetestutil/testkeyring/gen_accounts
package:text/template
was added.preGeneratedAccountLineFmt
was not modified.errors.go
:cosmossdk.io/errors
has been modified to be imported in a separate block using parentheses.config
,pkg/sdk
,appgateserver
,pkg/appgateserver/config
,pkg/client/keyring/errors.go
,x/supplier/types/key_proof.go
,pkg/client/tx
,x/supplier/client/config
,pkg/client/keyring/errors.go
,pkg/client/tx
,urls.go
, andpkg/signer
packages.yaml.go
:x/supplier/token_supplier.go
:encoding/binary
.errors.go
in thepkg/sdk
package:cosmossdk.io/errors
.key_supplier.go
:encoding/binary
.errors.go
:sdkerrors "cosmossdk.io/errors"
has been modified to be imported in a separate block using parentheses.config
andpkg/appgateserver/config
packages.pkg/observable/interface.go
:context
package and adding parentheses to the import statement.errors.go
in thepkg/client/keyring
package:cosmossdk.io/errors
has been modified to be a multiline import statement.ErrEmptySigningKeyName
has not been changed.errors.go
in thex/supplier
package:cosmossdk.io/errors
has been modified to be a multiline import statement.x/supplier/keeper/supplier_keeper.go
:context
and adding parentheses to the import statement.template.go
in theexported
package:relayFixtureLineFmt
has not been modified.errors.go
:pkg/client/keyring/errors.go
:cosmossdk.io/errors
has been modified to be a multiline import statement.ErrEmptySigningKeyName
has not been changed.errors.go
in theappgateserver
package:sdkerrors
package from thecosmossdk.io/errors
module.x/supplier/types/key_proof.go
:encoding/binary
package.errors.go
:cosmossdk.io/errors
with updated formatting using parentheses.errors.go
in thepkg/appgateserver/config
package:sdkerrors
package fromcosmossdk.io/errors
.codespace
variable remains the same.errors.go
in thex/supplier/client/config
package:cosmossdk.io/errors
using the single import statement format.import
section to use parentheses for multiple imports.urls.go
in thesdk
package:fmt
has been added.simple_signer.go
in thepkg/signer
package:github.com/cosmos/cosmos-sdk/crypto/keyring
has been moved inside a separate import block.context.go
in thepolylog
package:context
has been changed to be imported within parentheses.CtxKey
constant has been defined as the key used to store thepolylog.Logger
in acontext.Context
.restore-scaffold-lines.sh
:key_gateway.go
:encoding/binary
.Please review these changes and ensure that they align with the intended functionality of the files.
Issue
In part (#270 (comment))
Type of change
Select one or more:
Testing
make go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR. This is VERY expensive, only do it after all the reviews are complete.Sanity Checklist