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

ci: check goimports instead of gofmt #1506

Merged
merged 8 commits into from
Jun 17, 2019
Merged

ci: check goimports instead of gofmt #1506

merged 8 commits into from
Jun 17, 2019

Conversation

landism
Copy link
Member

@landism landism commented Apr 18, 2019

This should reduce the churn on separating groups of imports.

Unfortunately, it won't completely eliminate it. goimports ensures that types of imports are in separate groups, but it doesn't not ensure that they are grouped minimally (i.e., splitting tilt imports into two, or putting each import into its own group is legit by goimports standards).

You'll mostly just want to look at the Makefile and .circleci/ changes. The other changes are simply bringing our source into compliance with goimports -local github.com/windmilleng/tilt.

@jazzdan
Copy link
Contributor

jazzdan commented Apr 23, 2019

@landism should we merge this in?

@landism
Copy link
Member Author

landism commented Apr 24, 2019

@landism should we merge this in?

Yes, probably, once I have time to make it actually work. It's not currently actually running goimports.

@landism landism marked this pull request as ready for review June 13, 2019 21:12
@landism landism requested review from nicks and maiamcc June 13, 2019 21:12
@@ -111,11 +114,9 @@ errcheck:
timing: install
./scripts/timing.py

WIRE_PATHS = engine cli synclet sail/client
Copy link
Contributor

Choose a reason for hiding this comment

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

👌

@landism landism merged commit e9ab890 into master Jun 17, 2019
@landism landism deleted the matt/check_goimports branch June 17, 2019 18:25
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.

3 participants