aboutcode-org / aboutcode-org/skeleton
Use a pre-commit hook
- Dominant language
- Python
- Stars
- 9
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
When you get too excited and prematurely push or commit code, it can result in issues such as password leaks or CI failures. Most of our CI failures are trivial, often caused by forgetting to run the appropriate formatting or tests before pushing. Implementing a pre-commit hook can help prevent these common mistakes.
There are a few options we can consider.
- [pre-commit](https://github.com/pre-commit/pre-commit) ([create our hooks](https://pre-commit.com/#usage))
- [talisman](https://github.com/thoughtworks/talisman) (detects passwords, etc.)
- [gitleaks](https://github.com/gitleaks/gitleaks) (detects passwords, etc.)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.