-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Enable and apply Spotless #8401
Conversation
Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
If the | ||
last level cannot be determined, the value of onLevel will be used instead. |
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 don't understand why it made this change, The line isn't as long as the one above it, and the break was inserted in a very odd place.
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.
Yes I also noticed that and have now created #8413 to improve the formatting. It seems to format well when all text is on one line but seems to bug when there is still room left on previous lines.
@wborn It seems this broke our sandbox/release build since the version plugin changes the poms in a way that spotless complains, see https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1634/consoleFull. What can we do about that? |
The quick fix is probably adding A nicer fix would be if the pipeline wouldn't touch the formatting or would run spotless:apply so we don't have to manually do this after every release. WDYT @pfink? |
Signed-off-by: Wouter Born <[email protected]>
Related to openhab/openhab-addons#8401 Signed-off-by: Kai Kreuzer <[email protected]>
Related to openhab/openhab-addons#8401 Signed-off-by: Kai Kreuzer <[email protected]>
Related to openhab/openhab-addons#8401 Signed-off-by: Kai Kreuzer <[email protected]>
Related to openhab/openhab-addons#8401 Signed-off-by: Kai Kreuzer <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
Let's enable and apply Spotless.
Replaces #8068
The issues Spotless found in the
feature.xml
are resolved by making sure theopenhab_wst_feature_file.prefs
include config matches.I suggest to do follow up PRs for any further improvements.
That way we can quickly merge this PR and it doesn't turn into a merge conflict magnet. 🧲 😉