Skip to content

Releases: pre-commit/pre-commit-hooks

pre-commit-hooks v4.6.0

06 Apr 18:28
Compare
Choose a tag to compare

Features

Migrating

  • fix-encoding-pragma: deprecated -- will be removed in 5.0.0. use
    pyupgrade or some other tool.

pre-commit-hooks v4.5.0

09 Oct 19:39
Compare
Choose a tag to compare

Features

Fixes

Migrating

pre-commit-hooks v4.4.0

19 Jan 20:39
Compare
Choose a tag to compare

Features

pre-commit-hooks v4.3.0

07 Jun 17:11
Compare
Choose a tag to compare

Features

  • check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
  • name-tests-test: add --pytest-test-first test convention.

Fixes

pre-commit-hooks v4.2.0

06 Apr 21:14
Compare
Choose a tag to compare

Features

  • name-tests-test: updated display text.
  • check-docstring-first: make output more parsable.
  • check-merge-conflict: make output more parsable.
  • debug-statements: make output more parsable.

Fixes

  • check-merge-conflict: fix detection of ====== conflict marker on windows.

Updating

pre-commit-hooks v4.1.0

24 Dec 04:50
Compare
Choose a tag to compare

Features

Fixes

Misc.

pre-commit-hooks v4.0.1

16 May 16:01
Compare
Choose a tag to compare

Fixes

pre-commit-hooks v4.0.0

15 May 03:19
Compare
Choose a tag to compare

Features

Fixes

Breaking changes

  • Remove deprecated hooks: flake8, pyflakes, autopep8-wrapper.

pre-commit-hooks v3.4.0

15 Dec 21:47
Compare
Choose a tag to compare

Features

  • file-contents-sorter: Add --unique argument
  • check-vcs-permalinks: Add --additional-github-domain option
  • New hook: destroyed-symlinks to detect unintentional symlink-breakages on windows.

pre-commit-hooks v3.3.0

20 Oct 17:18
Compare
Choose a tag to compare

Features

  • file-contents-sorter: add --ignore-case option for case-insensitive sorting
  • check-added-large-files: add --enforce-all option to check non-added files as well
  • fix-byte-order-marker: new hook which fixes UTF-8 byte-order marker.

Deprecations

  • check-byte-order-marker is now deprecated for fix-byte-order-marker