Some out-of-the-box hooks for pre-commit
pre-commit-hooks is a collection of out-of-the-box hooks for the pre-commit framework, written in Python. The project provides over thirty hooks that perform various checks and fixes on files in a Git repository, including syntax validation for JSON, YAML, TOML, and XML files; detection of common issues like merge conflicts, private keys, and AWS credentials; enforcement of code style conventions such as trailing whitespace removal and quote style standardization; and prevention of problematic commits like those to protected branches or containing large files. The hooks are maintained by the pre-commit project and can be integrated into a repository's pre-commit configuration or installed as a standalone package via pip.