pre-commit-hooks
Some out-of-the-box hooks for pre-commit
About this project
pre-commit-hooks Some out-of-the-box hooks for pre-commit. See also: https://github.com/pre-commit/pre-commit Using pre-commit-hooks with pre-commit Add this to your .pre-commit-config.yaml Hooks available check-added-large-files Prevent giant files from being committed. — Specify what is "too large" with args: ['--maxkb=123'] (default=500kB). — Limits checked files to those indicated as staged for addition by git. — If git-lfs is installed, lfs files will be skipped (requires git-lfs=2.2.1) — --enforce-all - Check all listed files not just those staged for addition. check-ast Simply check whether files parse as valid python. check-builtin-literals Require literal syntax when…
Technologies
Project health
GitHub
Reviews
Built by
Maintain pre-commit/pre-commit-hooks? Claiming verifies admin access through your GitHub account and gives you control of this listing.