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

Update pre-commit hook for go vet composites #4111

Merged
merged 2 commits into from
Sep 16, 2015
Merged

Update pre-commit hook for go vet composites #4111

merged 2 commits into from
Sep 16, 2015

Conversation

corylanou
Copy link
Contributor

This PR updates the pre-commit hook for git so that vet works regardless of composite errors (which mostly show up in our tests). This is a known behavior of go vet and it can't be fixed. While this isn't optimal, we at least benefit from everything else that go-vet does for us (which does catch real bugs).

@otoolep
Copy link
Contributor

otoolep commented Sep 15, 2015

+1

@otoolep
Copy link
Contributor

otoolep commented Sep 15, 2015

We already do this in CircleCI.

corylanou added a commit that referenced this pull request Sep 16, 2015
Update pre-commit hook for go vet composites
@corylanou corylanou merged commit 6ef51f8 into master Sep 16, 2015
@corylanou corylanou deleted the go-vet branch September 16, 2015 15:20
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