pre-commit-hooks

by pre-commit · Developer Tools

Some out-of-the-box hooks for pre-commit

New0 ratings6,677 starsActive
Developer ToolsDeveloper ToolPythongit
↓ Download v6.0.0GitHub⚑ Report
pre-commit-hooks — image 1

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

Pythongitlinterpre-commit

Project health

Actively maintained
Last update3 weeks ago
Contributors107
Latest releasev6.0.0
Open issues & PRs6
LicenseMIT
On GitHubsince 2014

GitHub

6,677
stars
798
forks
107
contributors
6
open issues & PRs
Python
language
3 weeks ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review pre-commit-hooks.

Built by

pre-commit
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain pre-commit/pre-commit-hooks? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like