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

add golint check to travis-ci #307

Merged
merged 2 commits into from
Jan 6, 2017
Merged

add golint check to travis-ci #307

merged 2 commits into from
Jan 6, 2017

Conversation

kadel
Copy link
Member

@kadel kadel commented Nov 22, 2016

This adds golint check to travis.

Golint checks coding standart rules from Effective Go and the CodeReviewComments wiki page.

Sometimes it can be quite strict and annoying, but I think that we should try it, and see how it goes.

This PR also fixes all the golint errors in the current code.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 22, 2016
@kadel kadel mentioned this pull request Nov 22, 2016
3 tasks
@sebgoa
Copy link
Contributor

sebgoa commented Nov 29, 2016

ping us when this is ready.

@kadel
Copy link
Member Author

kadel commented Nov 29, 2016

it will take a while :-(

@kadel kadel force-pushed the golint branch 3 times, most recently from 1593601 to 9077875 Compare January 4, 2017 17:45
@kadel kadel changed the title [WIP] fix golint errors fix golint errors Jan 5, 2017
@kadel kadel changed the title fix golint errors add golint check to travis-ci Jan 5, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 46.678% when pulling 4f176b8 on kadel:golint into 6e260ba on kubernetes-incubator:master.

@@ -24,6 +24,7 @@ import (
"github.com/spf13/cobra"
)

// TODO: comment
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to add this comment or do you want someone else to do it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if someone else do it (ideally authors of those functions).
I just put it there so golint is not complaining and we can merge it and start checking new PRs.

@surajssd
Copy link
Member

surajssd commented Jan 6, 2017

@kadel cool LGTM

@surajssd surajssd merged commit 4b3094d into kubernetes:master Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. review needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants