Skip to content

2.x: Add Checkstyle for Trailing Whitespace #4497

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

Merged
merged 1 commit into from
Sep 8, 2016
Merged

2.x: Add Checkstyle for Trailing Whitespace #4497

merged 1 commit into from
Sep 8, 2016

Conversation

vanniktech
Copy link
Collaborator

This will add checkstyle though it should not be executed together with Travis and hence does not fail the PR if there are. Also running ./gradlew checkstyleMain gives a list of places where trailing whitespace exists.

@JakeWharton
Copy link
Contributor

it should not be executed together with Travis and hence does not fail the PR

Seems pointless to add then.

@codecov-io
Copy link

Current coverage is 78.01% (diff: 100%)

Merging #4497 into 2.x will increase coverage by 0.03%

@@                2.x      #4497   diff @@
==========================================
  Files           505        505          
  Lines         34357      34357          
  Methods           0          0          
  Messages          0          0          
  Branches       5383       5383          
==========================================
+ Hits          26791      26802    +11   
- Misses         5551       5561    +10   
+ Partials       2015       1994    -21   

Powered by Codecov. Last update 35281d5...154fe6b

@vanniktech
Copy link
Collaborator Author

Yeah having the same opinion but David doesn't want it to fail the PR.

@JakeWharton
Copy link
Contributor

Then why fail local builds?

On Wed, Sep 7, 2016 at 12:57 PM Niklas Baudy [email protected]
wrote:

Yeah having the same opinion but David doesn't want it to fail the PR.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#4497 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEfeX4juPXMZcS0vBkp-2p-otHsT0ks5qnuzWgaJpZM4J3Dgb
.

@akarnokd akarnokd merged commit 935ae3c into ReactiveX:2.x Sep 8, 2016
@akarnokd
Copy link
Member

akarnokd commented Sep 8, 2016

For now, just run it with ./gradlew checkstyleMain sometimes.

@vanniktech vanniktech deleted the 2.x_checkstyle branch September 8, 2016 07:43
@akarnokd
Copy link
Member

akarnokd commented Sep 8, 2016

@vanniktech
Copy link
Collaborator Author

Alright my bad #4505

I thought the checkstyle tasks would not be executed automatically though build executes check and checkstyle task hooked itself into check task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants