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

Automatic checkstyle #394

Merged
merged 2 commits into from
Oct 1, 2020
Merged

Automatic checkstyle #394

merged 2 commits into from
Oct 1, 2020

Conversation

mnovak1
Copy link
Contributor

@mnovak1 mnovak1 commented Sep 28, 2020

This will automatically re-format code when "mvn compile" is run. It will format the code and sort all imports. No more checkstyle errors during build.

Note: I'll modify checkstyle check in GH actions to check that there are no formatting changes when trying "mvn verify" to check that formatting code was commit-ed.

Please make sure your PR meets the following requirements:

  • Pull Request contains a description of the changes
  • Pull Request does not include fixes for multiple issues/topics
  • Code is formatted, imports ordered, code compiles and tests are passing
  • Code is self-descriptive and/or documented

@mnovak1
Copy link
Contributor Author

mnovak1 commented Oct 1, 2020

@mchoma @maschmid @dsimansk @Crumby hi guys, could anyone review it, please? 99% of it are formatting changes. The main change is in pom file:
f818b7c#diff-600376dffeb79835ede4a0b285078036L240

@mnovak1 mnovak1 removed the request for review from Crumby October 1, 2020 06:59
@mnovak1
Copy link
Contributor Author

mnovak1 commented Oct 1, 2020

Thanks, I'll merge it.

In case your IDE is not having good formatting, you can use https://github.com/xtf-cz/xtf/blob/170483f2972411abfb3c97470a4a2c63e373102d/ide-config/eclipse-format.xml to configure it. I'll document it in CONTRIBUTING.md

@mnovak1 mnovak1 merged commit ae24fab into xtf-cz:master Oct 1, 2020
@mnovak1 mnovak1 deleted the automatic-checkstyle branch June 7, 2022 11:32
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