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 tests for pre-commit hooks #8

Open
klamann opened this issue Aug 24, 2020 · 0 comments
Open

Add tests for pre-commit hooks #8

klamann opened this issue Aug 24, 2020 · 0 comments

Comments

@klamann
Copy link
Contributor

klamann commented Aug 24, 2020

Make sure that

  • the pre-commit hooks work as expected
  • that all files of a new repo pass the pre-commit hook conditions (no errors on the first commit)

This turned out to be harder than expected, because pre-commit will only run when we have a git repo and all files we want to check have been added to the git repo, which is pretty slow, considering that we want to do this in a loop on a lot of repos.

related PR: #6

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

No branches or pull requests

1 participant