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

GCI-ing imports #2072

Merged
merged 1 commit into from
Dec 28, 2021
Merged

GCI-ing imports #2072

merged 1 commit into from
Dec 28, 2021

Conversation

AnomalRoil
Copy link
Member

Running gci in order to make sure we have properly deterministic imports with a nice and consistent formatting.

See: https://github.com/daixiang0/gci

@AnomalRoil AnomalRoil marked this pull request as draft December 27, 2021 23:44
@AnomalRoil
Copy link
Member Author

I'll rebase, I wanted to work without having to install go 1.18 beta 1, but I see I won't be able to do that without having conflicts and annoying merge commits.

Running gci in order to make sure we have properly deterministic imports

RELEASE_NOTES=n/a

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
@dominikschulz
Copy link
Member

Looks good. Can you please add it to our Makefile as well?
Either as a check in the codequality target, as a fix in the fmt target or both. As you prefer.

Thank you!

@AnomalRoil AnomalRoil marked this pull request as ready for review December 28, 2021 12:24
@AnomalRoil
Copy link
Member Author

Yes, this is actually part of my new ongoing effort to migrate from our current Makefile codequality check to a more streamlined golangci-lint based one, which integrates nicely with Github :)
More PRs to come soon.

Copy link
Member

@dominikschulz dominikschulz left a comment

Choose a reason for hiding this comment

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

LGTM

@dominikschulz dominikschulz merged commit 3d3c7d5 into master Dec 28, 2021
@dominikschulz dominikschulz deleted the gci-ing branch December 28, 2021 12:59
@AnomalRoil AnomalRoil linked an issue Dec 28, 2021 that may be closed by this pull request
38 tasks
kpitt pushed a commit to kpitt/gopass that referenced this pull request Jul 21, 2022
Running gci in order to make sure we have properly deterministic imports

RELEASE_NOTES=n/a

Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
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