Skip to content

Add pre-commit and pre-push git hooks #1143

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

Closed
wants to merge 3 commits into from
Closed

Add pre-commit and pre-push git hooks #1143

wants to merge 3 commits into from

Conversation

avocadowastaken
Copy link
Contributor

@avocadowastaken avocadowastaken commented Mar 10, 2017

I saw this 0c12cea commit and think that this checks should be done also on developer side.

Also this PR should be updated after merge of #1140.

@avocadowastaken avocadowastaken changed the title Add pre-commit an pre-push git hooks Add pre-commit and pre-push git hooks Mar 10, 2017
@leebyron
Copy link
Collaborator

I think this might be too invasive. I find that git hooks can be more burdensome than helpful and what we really want is "pre merge" hooks where travis fills in.

@leebyron
Copy link
Collaborator

I'm going to close this PR - feel free to open it again if you would like to continue discussion on it

@leebyron leebyron closed this Mar 11, 2017
@avocadowastaken
Copy link
Contributor Author

I think this might be too invasive.

Agree. I thought it can be an overkill for a lib after I published PR.

We can keep only pre-commit hook and stale this PR until fix lint and fix format commits start to appear.

what we really want is "pre merge" hooks where travis fills in.

I don't think that I understand what should go there

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

Successfully merging this pull request may close these issues.

3 participants