GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · pre-commit/pre-commit-hooks

Releases · pre-commit/pre-commit-hooks

pre-commit-hooks v6.0.0

pre-commit-hooks v6.0.0 Latest
Latest
@asottile asottile released this 09 Aug 19:31
v6.0.0
3e8a870

Fixes

  • check-shebang-scripts-are-executable: improve error message.
    • #1115 PR by @homebysix.

Migrating

  • now requires python >= 3.9.
    • #1098 PR by @asottile.
  • file-contents-sorter: disallow --unique and --ignore-case at the same
    time.
    • #1095 PR by @nemacysts.
    • #794 issue by @teksturi.
  • Removed check-byte-order-marker and fix-encoding-pragma.
    • check-byte-order-marker: migrate to fix-byte-order-marker.
    • fix-encoding-pragma: migrate to pyupgrade.
    • #1034 PR by @mxr.
    • #1032 issue by @mxr.
    • #522 PR by @jgowdy.

Contributors

  • @mxr
  • @nemacysts
  • @jgowdy
  • @asottile
  • @teksturi
  • @homebysix
mxr, nemacysts, and 4 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

YannMagnin, passionsfrucht, pebaha-, ssbarnea, Molkree, jnk22, KORraNpl, JonZeolla, trin94, rob4226, and 4 more reacted with thumbs up emoji rob4226 reacted with hooray emoji rob4226 and ImadSaddik reacted with heart emoji aaravind100, KORraNpl, and rob4226 reacted with rocket emoji
All reactions
  • 👍 14 reactions
  • 🎉 1 reaction
  • ❤️ 2 reactions
  • 🚀 3 reactions
16 people reacted

pre-commit-hooks v5.0.0

pre-commit-hooks v5.0.0
@asottile asottile released this 07 Oct 21:41
v5.0.0
cef0300

Features

  • requirements-txt-fixer: also remove pkg_resources==....
    • #850 PR by @ericfrederich.
    • #1030 issue by @ericfrederich.
  • check-illegal-windows-names: new hook!
    • #1044 PR by @ericfrederich.
    • #589 issue by @ericfrederich.
    • #1049 PR by @Jeffrey-Lim.
  • pretty-format-json: continue processing even if a file has a json error.
    • #1039 PR by @amarvin.
    • #1038 issue by @amarvin.

Fixes

  • destroyed-symlinks: set stages to [pre-commit, pre-push, manual]
    • PR #1085 by @AdrianDC.

Migrating

  • pre-commit-hooks now requires pre-commit>=3.2.0.
  • use non-deprecated names for stages.
    • #1093 PR by @asottile.

Contributors

  • @ericfrederich
  • @asottile
  • @AdrianDC
  • @amarvin
  • @Jeffrey-Lim
ericfrederich, asottile, and 3 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

egoan82, tshu-w, EmperorArthur, egeres, alexted, rob4226, and Molkree reacted with thumbs up emoji alexted reacted with laugh emoji alexted and rob4226 reacted with hooray emoji alexted, rob4226, and ImadSaddik reacted with heart emoji aaravind100, alexted, and rob4226 reacted with rocket emoji alexted reacted with eyes emoji
All reactions
  • 👍 7 reactions
  • 😄 1 reaction
  • 🎉 2 reactions
  • ❤️ 3 reactions
  • 🚀 3 reactions
  • 👀 1 reaction
9 people reacted

pre-commit-hooks v4.6.0

pre-commit-hooks v4.6.0
@asottile asottile released this 06 Apr 18:28
v4.6.0
2c9f875

Features

  • requirements-txt-fixer: remove duplicate packages.
    • #1014 PR by @vhoulbreque-withings.
    • #960 issue @csibe17.

Migrating

  • fix-encoding-pragma: deprecated -- will be removed in 5.0.0. use
    pyupgrade or some other tool.
    • #1033 PR by @mxr.
    • #1032 issue by @mxr.

Contributors

  • @mxr
  • @csibe17
  • @vhoulbreque-withings
mxr, csibe17, and vhoulbreque-withings
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

echedey-ls, passionsfrucht, and willianpaixao reacted with heart emoji meandmytram, aaravind100, gh640, MindTooth, axi0m, willianpaixao, and Molkree reacted with rocket emoji
All reactions
  • ❤️ 3 reactions
  • 🚀 7 reactions
9 people reacted

pre-commit-hooks v4.5.0

pre-commit-hooks v4.5.0
@asottile asottile released this 09 Oct 19:39
v4.5.0
c4a0b88

Features

  • requirements-txt-fixer: also sort constraints.txt by default.
    • #857 PR by @lev-blit.
    • #830 issue by @PLPeeters.
  • debug-statements: add bpdb debugger.
    • #942 PR by @mwip.
    • #941 issue by @mwip.

Fixes

  • file-contents-sorter: fix sorting an empty file.
    • #944 PR by @RoelAdriaans.
    • #935 issue by @paduszyk.
  • double-quote-string-fixer: don't rewrite inside f-strings in 3.12+.
    • #973 PR by @asottile.
    • #971 issue by @XuehaiPan.

Migrating

  • now requires python >= 3.8.
    • #926 PR by @asottile.
    • #927 PR by @asottile.

Contributors

  • @asottile
  • @PLPeeters
  • @RoelAdriaans
  • @XuehaiPan
  • @mwip
  • @lev-blit
  • @paduszyk
asottile, PLPeeters, and 5 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

rodamaral, CoolCat467, lubomir-brindza, broden-wanner, and Molkree reacted with thumbs up emoji echedey-ls and broden-wanner reacted with hooray emoji
All reactions
  • 👍 5 reactions
  • 🎉 2 reactions
6 people reacted

pre-commit-hooks v4.4.0

pre-commit-hooks v4.4.0
@asottile asottile released this 19 Jan 20:39
v4.4.0
f71fa2c

Features

  • forbid-submodules: new hook which outright bans submodules.
    • #815 PR by @asottile.
    • #707 issue by @ChiefGokhlayeh.

Contributors

  • @asottile
  • @ChiefGokhlayeh
asottile and ChiefGokhlayeh
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

sadikkuzu, rodamaral, jackton1, wagneralbjr, LaservazquezM, Molkree, martinfevreagility, and willianpaixao reacted with hooray emoji loicreynier, LaservazquezM, guilhermeg2k, ckreisl, martinfevreagility, and willianpaixao reacted with rocket emoji
All reactions
  • 🎉 8 reactions
  • 🚀 6 reactions
11 people reacted

pre-commit-hooks v4.3.0

pre-commit-hooks v4.3.0
@asottile asottile released this 07 Jun 17:11
v4.3.0
3298dda

Features

  • check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
    • #730 PR by @Kurt-von-Laven.
  • name-tests-test: add --pytest-test-first test convention.
    • #779 PR by @asottile.

Fixes

  • check-shebang-scripts-are-executable: update windows instructions.
    • #774 PR by @mdeweerd.
    • #770 issue by @mdeweerd.
  • check-toml: use stdlib tomllib when available.
    • #771 PR by @DanielNoord.
    • #755 issue by @sognetic.
  • check-added-large-files: don't run on non-file stages.
    • #778 PR by @asottile.
    • #777 issue by @skyj.

Contributors

  • @Kurt-von-Laven
  • @mdeweerd
  • @asottile
  • @skyj
  • @sognetic
  • @DanielNoord
Kurt-von-Laven, mdeweerd, and 4 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

loicreynier, Bumbleblo, leonardssh, passionsfrucht, Nathanmalnoury, kenny-kvibe, ankush, sidorov-as, and Childcity reacted with rocket emoji
All reactions
  • 🚀 9 reactions
9 people reacted

pre-commit-hooks v4.2.0

pre-commit-hooks v4.2.0
@asottile asottile released this 06 Apr 21:14
v4.2.0
db7346d

Features

  • name-tests-test: updated display text.
    • #713 PR by @asottile.
  • check-docstring-first: make output more parsable.
    • #748 PR by @asottile.
  • check-merge-conflict: make output more parsable.
    • #748 PR by @asottile.
  • debug-statements: make output more parsable.
    • #748 PR by @asottile.

Fixes

  • check-merge-conflict: fix detection of ====== conflict marker on windows.
    • #748 PR by @asottile.

Updating

  • Drop python<3.7.
    • #719 PR by @asottile.
  • Changed default branch from master to main.
    • #744 PR by @asottile.

Contributors

  • @asottile
asottile
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

bravmi and jjrice2233 reacted with thumbs up emoji imomaliev, grillazz, aminalaee, leonardssh, sidorov-as, willianpaixao, DanielChabrowski, jonasbn, spencerarogers, adithyabsk, and 2 more reacted with hooray emoji 9bany, leonardssh, willianpaixao, s-weigand, and spencerarogers reacted with rocket emoji
All reactions
  • 👍 2 reactions
  • 🎉 12 reactions
  • 🚀 5 reactions
16 people reacted

pre-commit-hooks v4.1.0

pre-commit-hooks v4.1.0
@asottile asottile released this 24 Dec 04:50
v4.1.0
8fe62d1

Features

  • debug-statements: add pdbr debugger.
    • #614 PR by @cansarigol.
  • detect-private-key: add detection for additional key types.
    • #658 PR by @ljmf00.
  • check-executables-have-shebangs: improve messaging on windows.
    • #689 PR by @pujitm.
    • #686 issue by @jmerdich.
  • check-added-large-files: support --enforce-all with git-lfs.
    • #674 PR by @amartani.
    • #560 issue by @jeremy-coulon.

Fixes

  • check-case-conflict: improve performance.
    • #626 PR by @guykisel.
    • #625 issue by @guykisel.
  • forbid-new-submodules: fix false-negatives for pre-push.
    • #619 PR by @m-khvoinitsky.
    • #609 issue by @m-khvoinitsky.
  • check-merge-conflict: fix execution in git worktrees.
    • #662 PR by @errsyn.
    • #638 issue by @daschuer.

Misc.

  • Normalize case of hook names and descriptions.
    • #671 PR by @dennisroche.
    • #673 PR by @revolter.

Contributors

  • @amartani
  • @daschuer
  • @jeremy-coulon
  • @dennisroche
  • @cansarigol
  • @ljmf00
  • @revolter
  • @jmerdich
  • @guykisel
  • @errsyn
  • @pujitm
  • @m-khvoinitsky
amartani, daschuer, and 10 other contributors
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

temmyzeus, janosh, Shivansh-007, ma7dev, loonghao, igaurab, ibLeDy, oleksis, shapiroj18, Molkree, and 5 more reacted with thumbs up emoji guykisel and Ttibsi reacted with hooray emoji sadikkuzu, hurlenko, loonghao, adithyabsk, tfaughnan, ksilarbi, amartani, guykisel, and Ttibsi reacted with rocket emoji
All reactions
  • 👍 15 reactions
  • 🎉 2 reactions
  • 🚀 9 reactions
21 people reacted

pre-commit-hooks v4.0.1

pre-commit-hooks v4.0.1
@asottile asottile released this 16 May 16:01
v4.0.1
38b8824

Fixes

  • check-shebang-scripts-are-executable fix entry point.
    • #602 issue by @Person-93.
    • #603 PR by @scop.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

pre-commit-hooks v4.0.0

pre-commit-hooks v4.0.0
@asottile asottile released this 15 May 03:19
v4.0.0
9cc62e1

Features

  • check-json: report duplicate keys.
    • #558 PR by @AdityaKhursale.
    • #554 issue by @adamchainz.
  • no-commit-to-branch: add main to default blocked branches.
    • #565 PR by @ndevenish.
  • check-case-conflict: check conflicts in directory names as well.
    • #575 PR by @slsyy.
    • #70 issue by @andyjack.
  • check-vcs-permalinks: forbid other branch names.
    • #582 PR by @jack1142.
    • #581 issue by @jack1142.
  • check-shebang-scripts-are-executable: new hook which ensures shebang'd scripts are executable.
    • #545 PR by @scop.

Fixes

  • check-executables-have-shebangs: Short circuit shebang lookup on windows.
    • #544 PR by @scop.
  • requirements-txt-fixer: Fix comments which have indentation
    • #549 PR by @greshilov.
    • #548 issue by @greshilov.
  • pretty-format-json: write to stdout using UTF-8 encoding.
    • #571 PR by @jack1142.
    • #570 issue by @jack1142.
  • Use more inclusive language.
    • #599 PR by @asottile.

Breaking changes

  • Remove deprecated hooks: flake8, pyflakes, autopep8-wrapper.
    • #597 PR by @asottile.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

hai0118 and dozenprinceli reacted with hooray emoji
All reactions
  • 🎉 2 reactions
2 people reacted
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.