-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-3873] [build] Enable import ordering error checking. #10612
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
Conversation
Turn import ordering violations into build errors, plus a few adjustments to account for how the checker behaves. I'm a little on the fence about whether the existing code is right, but it's easier to appease the checker than to discuss what's the more correct order here. Plus a few fixes to imports that cropped in since my recent cleanups.
|
I'll let this simmer for a few days to wait for new PRs that might have violations to go in, and fix those... but at some point I'll get bored of fixing things and probably push this. |
|
Test build #48816 has finished for PR 10612 at commit
|
|
retest this please |
|
Test build #48834 has finished for PR 10612 at commit
|
|
Test build #48862 has finished for PR 10612 at commit
|
scalastyle-config.xml
Outdated
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.
you'd need to remove this line
|
Test build #48888 has finished for PR 10612 at commit
|
|
LGTM. |
|
You should probably just find a slow day (Sat night / Sun morning?) to bring this up to date and merge it. |
|
Will probably do that Monday morning (or Sunday evening if I'm feeling bored). |
|
Test build #49077 has finished for PR 10612 at commit
|
|
Test build #49081 has finished for PR 10612 at commit
|
|
I've merged this. Thanks. |
Turn import ordering violations into build errors, plus a few adjustments
to account for how the checker behaves. I'm a little on the fence about
whether the existing code is right, but it's easier to appease the checker
than to discuss what's the more correct order here.
Plus a few fixes to imports that cropped in since my recent cleanups.