-
Notifications
You must be signed in to change notification settings - Fork 2
add maven checkstyle #12
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
base: master
Are you sure you want to change the base?
Conversation
| </build> | ||
|
|
||
| </project> | ||
| </project> |
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.
?
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.
More blank line.
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
checkstyle-suppressions.xml
Outdated
| <suppress checks="SummaryJavadoc" files=".*" /> | ||
| <!-- suppress check for protobuf-generated files. --> | ||
| <!-- for windows separator--> | ||
| <suppress checks=".*" files="src[\\\\]main[\\\\]java[\\\\]com[\\\\]distkv[\\\\]rpc[\\\\]protobuf[\\\\]generated" /> |
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 should take a look at what this code does. What's the point of copying it here?
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
|
I think we should enable CI at first, and then enable check-style. |
| @@ -0,0 +1,22 @@ | |||
| name: distkv-cloud_build | |||
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 think this name can be optimized. The distkv cloud is recommended (note that %20 is required as a space placeholder for spaces to be recognized correctly)
| @@ -1,2 +1,5 @@ | |||
| # distkv-cloud | |||
| Distkv cloud | |||
| [](https://github.com/distkv-project/distkv/actions) | |||
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.
This is not the distkv cloud badge, but the distkv.
| # distkv-cloud | ||
| Distkv cloud | ||
| [](https://github.com/distkv-project/distkv/actions) | ||
| [](https://codebeat.co/projects/github-com-distkv-project-distkv-master) |
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.
The same.
| @@ -0,0 +1,19 @@ | |||
| <!DOCTYPE suppressions PUBLIC | |||
| "-//Puppy Crawl//DTD Suppressions 1.1//EN" | |||
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.
The purpose of this file is to exclude files in the generated folder. There is no generated file for this project, so this file is not needed.
| </executions> | ||
| <configuration> | ||
| <configLocation>checkstyle.xml</configLocation> | ||
| <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
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.
This is no need.
| </build> | ||
|
|
||
| </project> | ||
| </project> |
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.
More blank line.
No description provided.