-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
./scripts/fix.sh: Takes care of goimports across the whole project. #15052
Conversation
Signed-off-by: Piotr Tabor <ptab@google.com>
7fa5b85
to
9317b5a
Compare
"go.etcd.io/etcd/api/v3/etcdserverpb" | ||
pb "go.etcd.io/etcd/api/v3/etcdserverpb" | ||
"go.etcd.io/etcd/client/pkg/v3/types" | ||
"go.etcd.io/etcd/server/v3/auth" | ||
"go.etcd.io/etcd/server/v3/config" | ||
"go.etcd.io/raft/v3" | ||
"go.uber.org/zap" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious why such kind of import disorder isn't discovered by
Line 33 in a4c1b3a
local-prefixes: go.etcd.io # Put imports beginning with prefix after 3rd-party packages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to study it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @demoManito . Please feel free to deliver a PR to fix it if you have any findings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Codecov Report
@@ Coverage Diff @@
## main #15052 +/- ##
==========================================
+ Coverage 74.75% 74.92% +0.17%
==========================================
Files 415 415
Lines 34273 34276 +3
==========================================
+ Hits 25620 25682 +62
+ Misses 7012 6970 -42
+ Partials 1641 1624 -17
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Piotr Tabor <ptab@google.com>
9317b5a
to
9e1abba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.