Some out-of-the-box hooks for pre-commit. Using pre-commit-hooks with pre-commit. Instead of loading the files, simply parse them for syntax. A syntax-only check enables extensions and unsafe constructs which would otherwise be forbidden. Using this option removes all guarantees of portability to other yaml implementations. Detect symlinks which are changed to regular files with a content of a path that that symlink was pointing to. This usually happens on Windows when a user clones a repository that has symlinks but they do not have permission to create symlinks. Limits checked files to those indicated as staged for addition by git. Check all listed files not just those staged for addition.
Features
- Prevent giant files from being committed
- Simply check whether files parse as valid python
- Check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT
- Checks for a common error of placing code before the docstring
- Attempts to load all json files to verify syntax
- Check for files that contain merge conflict strings
Categories
GitLicense
MIT LicenseFollow pre-commit-hooks
Other Useful Business Software
Turn traffic into pipeline and prospects into customers
Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pre-commit-hooks!