pre-commit

58 posts

pre-commit

pre-commit

@pre_commit

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

انضم Ağustos 2014
3 يتبع352 المتابعون
pre-commit
pre-commit@pre_commit·
pre-commit 3.0.0 has been released -- this removes some long-deprecated config stuff and adds first-class support for `golang` and `repo: local` support for `coursier`! github.com/pre-commit/pre…
English
1
5
42
4.6K
pre-commit
pre-commit@pre_commit·
@__envozalta__ there already is one! #check-added-large-files" target="_blank" rel="nofollow noopener">github.com/pre-commit/pre…
English
0
0
1
0
En Voz Alta
En Voz Alta@__envozalta__·
Loots like an opportunity for a pre-commit hook. @pre_commit
English
1
0
0
0
pre-commit أُعيد تغريده
pre-commit.ci
pre-commit.ci@pre_commit_ci·
pre-commit.ci has reached 1 MILLION RUNS \o/
English
0
3
39
0
The Full Stack
The Full Stack@full_stack_dl·
@github @pre_commit That works for conscientious local devs who have the tool installed, but what about the remote on GitHub? But how do we ensure, at the level of our remote repository, that these pre-commit checks are passing? Enter @github Actions! 5/N
The Full Stack tweet media
English
3
0
3
0
The Full Stack
The Full Stack@full_stack_dl·
🛠️ Tooling Tuesday 🛠️ The 2021 edition of FSDL had lots of nice tools for assuring code quality and keeping developer experience smooth. This time around, we've improved the automation and integration of those tools with @github Actions and @pre_commit. 🧵 1/N
English
1
4
46
0
pre-commit
pre-commit@pre_commit·
@sbarnea @latest I doubt they'll laugh at you -- the entire point of the buggy repo is to provide hooks for pre-commit
English
1
0
0
0
pre-commit
pre-commit@pre_commit·
@sbarnea @latest if they are all equivalent tags then pre-commit does what you expect and picks `v6.1.7`
English
1
0
0
0
Sorin Sbârnea
Sorin Sbârnea@sbarnea·
I wonder if @pre_commit auto-update changing to `@latest` is not fully against its main goals. #event-6971193326" target="_blank" rel="nofollow noopener">github.com/ansible/schema… -- looks like a bug to me, failing to check if tags are versions. Reminds me of undesired upgrades to pre-releases, but that one looks like YOLO.
English
1
0
0
0
pre-commit
pre-commit@pre_commit·
@adam_zethraeus @gittower lol, nice: #diff-6af30cf7f676bc696b3780ffa4c138a0da88730f52cd1099425712e519fff922R24" target="_blank" rel="nofollow noopener">github.com/pre-commit/pre…
English
0
0
0
0
pre-commit
pre-commit@pre_commit·
@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)
English
1
0
0
0
Sorin Sbârnea
Sorin Sbârnea@sbarnea·
@pre_commit How does it know which hooks rewrite files? Based on my cpu usage I was almost sure it did not use all 10 cores. I need to look into it bit more.
English
1
0
0
0
Sorin Sbârnea
Sorin Sbârnea@sbarnea·
I am wondering if @pre_commit would ever start running read-only hooks in parallel as this would greatly speed it up on modern computers.
English
1
0
0
0
pre-commit
pre-commit@pre_commit·
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: @mail.gmail.com/T/" target="_blank" rel="nofollow noopener">public-inbox.org/git/CA+dzEBn10…
English
0
3
10
0
pre-commit
pre-commit@pre_commit·
pre-commit 2.18.0 has been released! this release improves handling of tags and worktrees among other things and has a bunch of fixes -- check it out! github.com/pre-commit/pre…
English
0
1
20
0
pre-commit
pre-commit@pre_commit·
pre-commit 2.17.0 has been released! this release adds support for `lua` as a new hook language as well as go 1.18+, alternative conda implementations and more -- check it out! github.com/pre-commit/pre…
English
0
4
23
0
pre-commit
pre-commit@pre_commit·
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…
English
0
4
13
0