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 pre-commit hooks #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

datawookie
Copy link

Hi! I'd like to suggest adding pre-commit hooks to this project. I have added some basic hooks which will clean up white-space on each commit. This already contributes to code quality. Next steps I'd suggest would be to add some hooks to apply some code formatting and static analysis (see https://github.com/pocc/pre-commit-hooks). We use these hooks on most of our projects and find that they make our code significantly neater and easier to maintain. Best regards, Andrew.

@datawookie
Copy link
Author

Also, I know that 18 changed files is a lot to review. Sorry! But the changes are really only cosmetic (mostly stripping excess whitespace from end of lines).

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.

None yet

1 participant