pre-commit (@pre_commit) profile picture

A framework for managing and maintaining multi-language pre-commit hooks. Created by @codewithanthony

Joined August 2014
Great to see CPython now uses @pre_commit , I’ll be adding a mention of this to my books that cover pre-commit (Boost Your {Django,Git} DX). github.com/python/cpython/bl…
1
1
4
625
WHAT? IT'S OVER 9000? pre-commit's stars that is -- thanks for all the support :) github.com/pre-commit/pre-co…
2
1
43
pre-commit.ci has reached 1 MILLION RUNS \o/
3
38
Replying to @pre_commit @sbarnea
I doubt they'll laugh at you -- the entire point of the buggy repo is to provide hooks for pre-commit
1
Replying to @pre_commit @sbarnea
if they are all equivalent tags then pre-commit does what you expect and picks `v6.1.7`
1
Replying to @sbarnea
your proposal would not help here and has already been rejected 2x -- there is only one non-equivalent tag that is the newest named "latest". I'd recommend you ask the repository to instead publish equivalent tags instead of a bunch annotated and the important one non-annotated
1
Replying to @sbarnea
that is the newest tag in that repo -- newer than the versioned tags -- the filtering only applies if all tags are otherwise equivalent
1
1
Replying to @sbarnea
it doesn't -- doing so is nearly intractable. it parallelizes _within_ a hook (unless that hook sets `require_serial: true` -- which might be cargo cult / by mistake)
1
Replying to @sbarnea
this is a common misconception -- pre-commit already internally parallelizes runs so intermixing would not help
1
1
. @_useRconf has accepted my talk on 'better commits with pre-commit'. If you are interested in enforcing high quality commits through automation (locally and on CI), this is for you. Hope to see you there #rstats #git @pre_commit user2022.r-project.org/progr…
1
2
14
just a heads up, it looks like `pre-commit` coloring is broken in git 2.36.0 due to a regression in `git` -- follow along here: public-inbox.org/git/CA+dzEB…
2
10
pre-commit-hooks 4.1.0 has been released -- this version improves a bunch of hooks and fixes a few bugs -- `pre-commit autoupdate` to get to the latest version (or just wait for pre-commit.ci to do it for you!) -- github.com/pre-commit/pre-co…
4
1
13