Closed renovate[bot] closed 3 years ago
Merging #29 (b15ee34) into master (df20dae) will increase coverage by
0.06%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #29 +/- ##
==========================================
+ Coverage 98.60% 98.66% +0.06%
==========================================
Files 2 3 +1
Lines 215 225 +10
==========================================
+ Hits 212 222 +10
Misses 3 3
Impacted Files | Coverage Δ | |
---|---|---|
msalign/__init__.py | 100.00% <0.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update df20dae...b15ee34. Read the comment docs.
This PR contains the following updates:
v1.17.0
->v2.13.0
Release Notes
pre-commit/pre-commit
### [`v2.13.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.13.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.12.1...v2.13.0) ##### Features - Setting `SKIP=...` skips installation as well. - [#1875](https://togithub.com/pre-commit/pre-commit/issues/1875) PR by [@asottile](https://togithub.com/asottile). - [pre-commit-ci/issues#53](https://togithub.com/pre-commit-ci/issues/issues/53) issue by [@TylerYep](https://togithub.com/TylerYep). - Attempt to mount from host with docker-in-docker. - [#1888](https://togithub.com/pre-commit/pre-commit/issues/1888) PR by [@okainov](https://togithub.com/okainov). - [#1387](https://togithub.com/pre-commit/pre-commit/issues/1387) issue by [@okainov](https://togithub.com/okainov). - Enable `repo: local` for `r` hooks. - [#1878](https://togithub.com/pre-commit/pre-commit/issues/1878) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Upgrade `ruby-build` and `rbenv`. - [#1913](https://togithub.com/pre-commit/pre-commit/issues/1913) PR by [@jalessio](https://togithub.com/jalessio). ##### Fixes - Better detect `r` packages. - [#1898](https://togithub.com/pre-commit/pre-commit/issues/1898) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Avoid warnings with mismatched `renv` versions. - [#1841](https://togithub.com/pre-commit/pre-commit/issues/1841) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - Reproducibly produce ruby tar resources. - [#1915](https://togithub.com/pre-commit/pre-commit/issues/1915) PR by [@asottile](https://togithub.com/asottile). ### [`v2.12.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.12.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.12.0...v2.12.1) ##### Fixes - Fix race condition when stashing files in multiple parallel invocations - [#1881](https://togithub.com/pre-commit/pre-commit/issues/1881) PR by [@adamchainz](https://togithub.com/adamchainz). - [#1880](https://togithub.com/pre-commit/pre-commit/issues/1880) issue by [@adamchainz](https://togithub.com/adamchainz). ### [`v2.12.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.12.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.11.1...v2.12.0) ##### Features - Upgrade rbenv. - [#1854](https://togithub.com/pre-commit/pre-commit/issues/1854) PR by [@asottile](https://togithub.com/asottile). - [#1848](https://togithub.com/pre-commit/pre-commit/issues/1848) issue by [@sirosen](https://togithub.com/sirosen). ##### Fixes - Give command length a little more room when running batch files on windows so underlying commands can expand further. - [#1864](https://togithub.com/pre-commit/pre-commit/issues/1864) PR by [@asottile](https://togithub.com/asottile). - [pre-commit/mirrors-prettier#7](https://togithub.com/pre-commit/mirrors-prettier/issues/7) issue by [@DeltaXWizard](https://togithub.com/DeltaXWizard). - Fix permissions of root folder in ruby archives. - [#1868](https://togithub.com/pre-commit/pre-commit/issues/1868) PR by [@asottile](https://togithub.com/asottile). ### [`v2.11.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.11.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.11.0...v2.11.1) ##### Fixes - Fix r hooks when hook repo is a package - [#1831](https://togithub.com/pre-commit/pre-commit/issues/1831) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v2.11.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.11.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.10.1...v2.11.0) ##### Features - Improve warning for mutable ref. - [#1809](https://togithub.com/pre-commit/pre-commit/issues/1809) PR by [@JamMarHer](https://togithub.com/JamMarHer). - Add support for `post-merge` hook. - [#1800](https://togithub.com/pre-commit/pre-commit/issues/1800) PR by [@psacawa](https://togithub.com/psacawa). - [#1762](https://togithub.com/pre-commit/pre-commit/issues/1762) issue by [@psacawa](https://togithub.com/psacawa). - Add `r` as a supported hook language. - [#1799](https://togithub.com/pre-commit/pre-commit/issues/1799) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ##### Fixes - Fix `pre-commit install` on `subst` / network drives on windows. - [#1814](https://togithub.com/pre-commit/pre-commit/issues/1814) PR by [@asottile](https://togithub.com/asottile). - [#1802](https://togithub.com/pre-commit/pre-commit/issues/1802) issue by [@goroderickgo](https://togithub.com/goroderickgo). - Fix installation of `local` golang repositories for go 1.16. - [#1818](https://togithub.com/pre-commit/pre-commit/issues/1818) PR by [@rafikdraoui](https://togithub.com/rafikdraoui). - [#1815](https://togithub.com/pre-commit/pre-commit/issues/1815) issue by [@rafikdraoui](https://togithub.com/rafikdraoui). ### [`v2.10.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.10.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.10.0...v2.10.1) ##### Fixes - Fix `language: golang` repositories containing recursive submodules - [#1788](https://togithub.com/pre-commit/pre-commit/issues/1788) issue by [@gaurav517](https://togithub.com/gaurav517). - [#1789](https://togithub.com/pre-commit/pre-commit/issues/1789) PR by [@paulhfischer](https://togithub.com/paulhfischer). ### [`v2.10.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.10.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.9.3...v2.10.0) ##### Features - Allow `ci` as a top-level map for configuration for https://pre-commit.ci - [#1735](https://togithub.com/pre-commit/pre-commit/issues/1735) PR by [@asottile](https://togithub.com/asottile). - Add warning for mutable `rev` in configuration - [#1715](https://togithub.com/pre-commit/pre-commit/issues/1715) PR by [@paulhfischer](https://togithub.com/paulhfischer). - [#974](https://togithub.com/pre-commit/pre-commit/issues/974) issue by [@asottile](https://togithub.com/asottile). - Add warning for `/*` in top-level `files` / `exclude` regexes - [#1750](https://togithub.com/pre-commit/pre-commit/issues/1750) PR by [@paulhfischer](https://togithub.com/paulhfischer). - [#1702](https://togithub.com/pre-commit/pre-commit/issues/1702) issue by [@asottile](https://togithub.com/asottile). - Expose `PRE_COMMIT_REMOTE_BRANCH` environment variable during `pre-push` hooks - [#1770](https://togithub.com/pre-commit/pre-commit/issues/1770) PR by [@surafelabebe](https://togithub.com/surafelabebe). - Produce error message for `language` / `language_version` for non-installable languages - [#1771](https://togithub.com/pre-commit/pre-commit/issues/1771) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix execution in worktrees in subdirectories of bare repositories - [#1778](https://togithub.com/pre-commit/pre-commit/issues/1778) PR by [@asottile](https://togithub.com/asottile). - [#1777](https://togithub.com/pre-commit/pre-commit/issues/1777) issue by [@s0undt3ch](https://togithub.com/s0undt3ch). ### [`v2.9.3`](https://togithub.com/pre-commit/pre-commit/releases/v2.9.3) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.9.2...v2.9.3) ##### Fixes - Fix crash on cygwin mismatch check outside of a git directory - [#1721](https://togithub.com/pre-commit/pre-commit/issues/1721) PR by [@asottile](https://togithub.com/asottile). - [#1720](https://togithub.com/pre-commit/pre-commit/issues/1720) issue by [@chronoB](https://togithub.com/chronoB). - Fix cleanup code on docker volumes for go - [#1725](https://togithub.com/pre-commit/pre-commit/issues/1725) PR by [@fsouza](https://togithub.com/fsouza). - Fix working directory detection on SUBST drives on windows - [#1727](https://togithub.com/pre-commit/pre-commit/issues/1727) PR by [@mrogaski](https://togithub.com/mrogaski). - [#1610](https://togithub.com/pre-commit/pre-commit/issues/1610) issue by [@jcameron73](https://togithub.com/jcameron73). ### [`v2.9.2`](https://togithub.com/pre-commit/pre-commit/releases/v2.9.2) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.9.1...v2.9.2) ##### Fixes - Fix default value for `types_or` so `symlink` and `directory` can be matched - [#1716](https://togithub.com/pre-commit/pre-commit/issues/1716) PR by [@asottile](https://togithub.com/asottile). - [#1718](https://togithub.com/pre-commit/pre-commit/issues/1718) issue by [@CodeBleu](https://togithub.com/CodeBleu). ### [`v2.9.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.9.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.9.0...v2.9.1) ##### Fixes - Improve error message for "hook goes missing" - [#1709](https://togithub.com/pre-commit/pre-commit/issues/1709) PR by [@paulhfischer](https://togithub.com/paulhfischer). - [#1708](https://togithub.com/pre-commit/pre-commit/issues/1708) issue by [@theod07](https://togithub.com/theod07). - Add warning for `/*` in `files` / `exclude` regexes - [#1707](https://togithub.com/pre-commit/pre-commit/issues/1707) PR by [@paulhfischer](https://togithub.com/paulhfischer). - [#1702](https://togithub.com/pre-commit/pre-commit/issues/1702) issue by [@asottile](https://togithub.com/asottile). - Fix `healthy()` check for `language: python` on windows when the base executable has non-ascii characters. - [#1713](https://togithub.com/pre-commit/pre-commit/issues/1713) PR by [@asottile](https://togithub.com/asottile). - [#1711](https://togithub.com/pre-commit/pre-commit/issues/1711) issue by [@Najiva](https://togithub.com/Najiva). ### [`v2.9.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.9.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.8.2...v2.9.0) ##### Features - Add `types_or` which allows matching multiple disparate `types` in a hook - [#1677](https://togithub.com/pre-commit/pre-commit/issues/1677) by [@MarcoGorelli](https://togithub.com/MarcoGorelli). - [#607](https://togithub.com/pre-commit/pre-commit/issues/607) by [@asottile](https://togithub.com/asottile). - Add Github Sponsors / Open Collective links - https://github.com/sponsors/asottile - https://opencollective.com/pre-commit ##### Fixes - Improve cleanup for `language: dotnet` - [#1678](https://togithub.com/pre-commit/pre-commit/issues/1678) by [@rkm](https://togithub.com/rkm). - Fix "xargs" when running windows batch files - [#1686](https://togithub.com/pre-commit/pre-commit/issues/1686) PR by [@asottile](https://togithub.com/asottile). - [#1604](https://togithub.com/pre-commit/pre-commit/issues/1604) issue by [@apietrzak](https://togithub.com/apietrzak). - [#1604](https://togithub.com/pre-commit/pre-commit/issues/1604) issue by [@ufwtlsb](https://togithub.com/ufwtlsb). - Fix conflict with external `rbenv` and `language_version: default` - [#1700](https://togithub.com/pre-commit/pre-commit/issues/1700) PR by [@asottile](https://togithub.com/asottile). - [#1699](https://togithub.com/pre-commit/pre-commit/issues/1699) issue by [@abuxton](https://togithub.com/abuxton). - Improve performance of `git status` / `git diff` commands by ignoring submodules - [#1704](https://togithub.com/pre-commit/pre-commit/issues/1704) PR by [@Vynce](https://togithub.com/Vynce). - [#1701](https://togithub.com/pre-commit/pre-commit/issues/1701) issue by [@Vynce](https://togithub.com/Vynce). ### [`v2.8.2`](https://togithub.com/pre-commit/pre-commit/releases/v2.8.2) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.8.1...v2.8.2) ##### Fixes - Fix installation of ruby hooks with `language_version: default` - [#1671](https://togithub.com/pre-commit/pre-commit/issues/1671) issue by [@aerickson](https://togithub.com/aerickson). - [#1672](https://togithub.com/pre-commit/pre-commit/issues/1672) PR by [@asottile](https://togithub.com/asottile). ### [`v2.8.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.8.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.8.0...v2.8.1) ##### Fixes - Allow default `language_version` of `system` when the homedir is `/` - [#1669](https://togithub.com/pre-commit/pre-commit/issues/1669) PR by [@asottile](https://togithub.com/asottile). ### [`v2.8.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.8.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.7.1...v2.8.0) ##### Features - Update `rbenv` / `ruby-build` - [#1612](https://togithub.com/pre-commit/pre-commit/issues/1612) issue by [@tdeo](https://togithub.com/tdeo). - [#1614](https://togithub.com/pre-commit/pre-commit/issues/1614) PR by [@asottile](https://togithub.com/asottile). - Update `sample-config` versions - [#1611](https://togithub.com/pre-commit/pre-commit/issues/1611) PR by [@mcsitter](https://togithub.com/mcsitter). - Add new language: `dotnet` - [#1598](https://togithub.com/pre-commit/pre-commit/issues/1598) by [@rkm](https://togithub.com/rkm). - Add `--negate` option to `language: pygrep` hooks - [#1643](https://togithub.com/pre-commit/pre-commit/issues/1643) PR by [@MarcoGorelli](https://togithub.com/MarcoGorelli). - Add zipapp support - [#1616](https://togithub.com/pre-commit/pre-commit/issues/1616) PR by [@asottile](https://togithub.com/asottile). - Run pre-commit through https://pre-commit.ci - [#1662](https://togithub.com/pre-commit/pre-commit/issues/1662) PR by [@asottile](https://togithub.com/asottile). - Add new language: `coursier` (a jvm-based package manager) - [#1633](https://togithub.com/pre-commit/pre-commit/issues/1633) PR by [@JosephMoniz](https://togithub.com/JosephMoniz). - Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C) - [#1601](https://togithub.com/pre-commit/pre-commit/issues/1601) PR by [@int3l](https://togithub.com/int3l). ##### Fixes - Improve `healthy()` check for `language: node` + `language_version: system` hooks when the system executable goes missing. - [pre-commit/action#45](https://togithub.com/pre-commit/action/issues/45) issue by [@KOliver94](https://togithub.com/KOliver94). - [#1589](https://togithub.com/pre-commit/pre-commit/issues/1589) issue by [@asottile](https://togithub.com/asottile). - [#1590](https://togithub.com/pre-commit/pre-commit/issues/1590) PR by [@asottile](https://togithub.com/asottile). - Fix excess whitespace in error log traceback - [#1592](https://togithub.com/pre-commit/pre-commit/issues/1592) PR by [@asottile](https://togithub.com/asottile). - Fix posixlike shebang invocations with shim executables of the git hook script on windows. - [#1593](https://togithub.com/pre-commit/pre-commit/issues/1593) issue by [@Celeborn2BeAlive](https://togithub.com/Celeborn2BeAlive). - [#1595](https://togithub.com/pre-commit/pre-commit/issues/1595) PR by [@Celeborn2BeAlive](https://togithub.com/Celeborn2BeAlive). - Remove hard-coded `C:\PythonXX\python.exe` path on windows as it caused confusion (and `virtualenv` can sometimes do better) - [#1599](https://togithub.com/pre-commit/pre-commit/issues/1599) PR by [@asottile](https://togithub.com/asottile). - Fix `language: ruby` hooks when `--format-executable` is present in a gemrc - issue by `Rainbow Tux` (discord). - [#1603](https://togithub.com/pre-commit/pre-commit/issues/1603) PR by [@asottile](https://togithub.com/asottile). - Move `cygwin` / `win32` mismatch error earlier to catch msys2 mismatches - [#1605](https://togithub.com/pre-commit/pre-commit/issues/1605) issue by [@danyeaw](https://togithub.com/danyeaw). - [#1606](https://togithub.com/pre-commit/pre-commit/issues/1606) PR by [@asottile](https://togithub.com/asottile). - Remove `-p` workaround for old `virtualenv` - [#1617](https://togithub.com/pre-commit/pre-commit/issues/1617) PR by [@asottile](https://togithub.com/asottile). - Fix `language: node` installations to not symlink outside of the environment - [pre-commit-ci/issues#2](https://togithub.com/pre-commit-ci/issues/issues/2) issue by [@DanielJSottile](https://togithub.com/DanielJSottile). - [#1667](https://togithub.com/pre-commit/pre-commit/issues/1667) PR by [@asottile](https://togithub.com/asottile). - Don't identify shim executables as valid `system` for defaulting `language_version` for `language: node` / `language: ruby` - [#1658](https://togithub.com/pre-commit/pre-commit/issues/1658) issue by [@adithyabsk](https://togithub.com/adithyabsk). - [#1668](https://togithub.com/pre-commit/pre-commit/issues/1668) PR by [@asottile](https://togithub.com/asottile). ### [`v2.7.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.7.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.7.0...v2.7.1) ##### Fixes - Improve performance of docker hooks by removing slow `ps` call - [#1572](https://togithub.com/pre-commit/pre-commit/issues/1572) PR by [@rkm](https://togithub.com/rkm). - [#1569](https://togithub.com/pre-commit/pre-commit/issues/1569) issue by [@asottile](https://togithub.com/asottile). - Fix un-`healthy()` invalidation followed by install being reported as un-`healthy()`. - [#1576](https://togithub.com/pre-commit/pre-commit/issues/1576) PR by [@asottile](https://togithub.com/asottile). - [#1575](https://togithub.com/pre-commit/pre-commit/issues/1575) issue by [@jab](https://togithub.com/jab). - Fix rare file race condition on windows with `os.replace()` - [#1577](https://togithub.com/pre-commit/pre-commit/issues/1577) PR by [@asottile](https://togithub.com/asottile). ### [`v2.7.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.7.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.6.0...v2.7.0) ##### Features - Produce error message if an environment is immediately unhealthy - [#1535](https://togithub.com/pre-commit/pre-commit/issues/1535) PR by [@asottile](https://togithub.com/asottile). - Add --no-allow-missing-config option to init-templatedir - [#1539](https://togithub.com/pre-commit/pre-commit/issues/1539) PR by [@singergr](https://togithub.com/singergr). - Add warning for old list-style configuration - [#1544](https://togithub.com/pre-commit/pre-commit/issues/1544) PR by [@asottile](https://togithub.com/asottile). - Allow pre-commit to succeed on a readonly store. - [#1570](https://togithub.com/pre-commit/pre-commit/issues/1570) PR by [@asottile](https://togithub.com/asottile). - [#1536](https://togithub.com/pre-commit/pre-commit/issues/1536) issue by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix error messaging when the store directory is readonly - [#1546](https://togithub.com/pre-commit/pre-commit/issues/1546) PR by [@asottile](https://togithub.com/asottile). - [#1536](https://togithub.com/pre-commit/pre-commit/issues/1536) issue by [@asottile](https://togithub.com/asottile). - Improve `diff` performance with many hooks - [#1566](https://togithub.com/pre-commit/pre-commit/issues/1566) PR by [@jhenkens](https://togithub.com/jhenkens). - [#1564](https://togithub.com/pre-commit/pre-commit/issues/1564) issue by [@jhenkens](https://togithub.com/jhenkens). ### [`v2.6.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.6.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.5.1...v2.6.0) ##### Fixes - Fix node hooks when `NPM_CONFIG_USERCONFIG` is set - [#1521](https://togithub.com/pre-commit/pre-commit/issues/1521) PR by [@asottile](https://togithub.com/asottile). - [#1516](https://togithub.com/pre-commit/pre-commit/issues/1516) issue by [@rkm](https://togithub.com/rkm). ##### Features - Skip `rbenv` / `ruby-download` if system ruby is available - [#1509](https://togithub.com/pre-commit/pre-commit/issues/1509) PR by [@asottile](https://togithub.com/asottile). - Partial support for ruby on windows (if system ruby is installed) - [#1509](https://togithub.com/pre-commit/pre-commit/issues/1509) PR by [@asottile](https://togithub.com/asottile). - [#201](https://togithub.com/pre-commit/pre-commit/issues/201) issue by [@asottile](https://togithub.com/asottile). ### [`v2.5.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.5.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.5.0...v2.5.1) ##### Fixes - Prevent infinite recursion of post-checkout on clone - [#1497](https://togithub.com/pre-commit/pre-commit/issues/1497) PR by [@asottile](https://togithub.com/asottile). - [#1496](https://togithub.com/pre-commit/pre-commit/issues/1496) issue by [@admorgan](https://togithub.com/admorgan). ### [`v2.5.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.5.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.4.0...v2.5.0) ##### Features - Expose a `PRE_COMMIT=1` environment variable when running hooks - [#1467](https://togithub.com/pre-commit/pre-commit/issues/1467) PR by [@tech-chad](https://togithub.com/tech-chad). - [#1426](https://togithub.com/pre-commit/pre-commit/issues/1426) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ##### Fixes - Fix `UnicodeDecodeError` on windows when using the `py` launcher to detect executables with non-ascii characters in the path - [#1474](https://togithub.com/pre-commit/pre-commit/issues/1474) PR by [@asottile](https://togithub.com/asottile). - [#1472](https://togithub.com/pre-commit/pre-commit/issues/1472) issue by DrFobos. - Fix `DeprecationWarning` on python3.9 for `random.shuffle` method - [#1480](https://togithub.com/pre-commit/pre-commit/issues/1480) PR by [@asottile](https://togithub.com/asottile). - [#1479](https://togithub.com/pre-commit/pre-commit/issues/1479) issue by [@isidentical](https://togithub.com/isidentical). - Normalize slashes earlier such that global `files` / `exclude` use forward slashes on windows as well. - [#1494](https://togithub.com/pre-commit/pre-commit/issues/1494) PR by [@asottile](https://togithub.com/asottile). - [#1476](https://togithub.com/pre-commit/pre-commit/issues/1476) issue by [@harrybiddle](https://togithub.com/harrybiddle). ### [`v2.4.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.4.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.3.0...v2.4.0) ##### Features - Add support for `post-commit` hooks - [#1415](https://togithub.com/pre-commit/pre-commit/issues/1415) PR by [@ModischFabrications](https://togithub.com/ModischFabrications). - [#1411](https://togithub.com/pre-commit/pre-commit/issues/1411) issue by [@ModischFabrications](https://togithub.com/ModischFabrications). - Silence pip version warning in python installation error - [#1412](https://togithub.com/pre-commit/pre-commit/issues/1412) PR by [@asottile](https://togithub.com/asottile). - Improve python `healthy()` when upgrading operating systems. - [#1431](https://togithub.com/pre-commit/pre-commit/issues/1431) PR by [@asottile](https://togithub.com/asottile). - [#1427](https://togithub.com/pre-commit/pre-commit/issues/1427) issue by [@ahonnecke](https://togithub.com/ahonnecke). - `language: python_venv` is now an alias to `language: python` (and will be removed in a future version). - [#1431](https://togithub.com/pre-commit/pre-commit/issues/1431) PR by [@asottile](https://togithub.com/asottile). - Speed up python `healthy()` check. - [#1431](https://togithub.com/pre-commit/pre-commit/issues/1431) PR by [@asottile](https://togithub.com/asottile). - `pre-commit autoupdate` now tries to maintain quoting style of `rev`. - [#1435](https://togithub.com/pre-commit/pre-commit/issues/1435) PR by [@marcjay](https://togithub.com/marcjay). - [#1434](https://togithub.com/pre-commit/pre-commit/issues/1434) issue by [@marcjay](https://togithub.com/marcjay). ##### Fixes - Fix installation of go modules in `repo: local`. - [#1428](https://togithub.com/pre-commit/pre-commit/issues/1428) PR by [@scop](https://togithub.com/scop). - Fix committing with unstaged files and a failing `post-checkout` hook. - [#1422](https://togithub.com/pre-commit/pre-commit/issues/1422) PR by [@domodwyer](https://togithub.com/domodwyer). - [#1418](https://togithub.com/pre-commit/pre-commit/issues/1418) issue by [@domodwyer](https://togithub.com/domodwyer). - Fix installation of node hooks with system node installed on freebsd. - [#1443](https://togithub.com/pre-commit/pre-commit/issues/1443) PR by [@asottile](https://togithub.com/asottile). - [#1440](https://togithub.com/pre-commit/pre-commit/issues/1440) issue by [@jockej](https://togithub.com/jockej). - Fix ruby hooks when `GEM_PATH` is set globally. - [#1442](https://togithub.com/pre-commit/pre-commit/issues/1442) PR by [@tdeo](https://togithub.com/tdeo). - Improve error message when `pre-commit autoupdate` / `pre-commit migrate-config` are run but the pre-commit configuration is not valid yaml. - [#1448](https://togithub.com/pre-commit/pre-commit/issues/1448) PR by [@asottile](https://togithub.com/asottile). - [#1447](https://togithub.com/pre-commit/pre-commit/issues/1447) issue by [@rpdelaney](https://togithub.com/rpdelaney). ### [`v2.3.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.3.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.2.0...v2.3.0) ##### Features - Calculate character width using `east_asian_width` - [#1378](https://togithub.com/pre-commit/pre-commit/issues/1378) PR by [@sophgn](https://togithub.com/sophgn). - Use `language_version: system` by default for `node` hooks if `node` / `npm` are globally installed. - [#1388](https://togithub.com/pre-commit/pre-commit/issues/1388) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - No longer use a hard-coded user id for docker hooks on windows - [#1371](https://togithub.com/pre-commit/pre-commit/issues/1371) PR by [@killuazhu](https://togithub.com/killuazhu). - Fix colors on windows during `git commit` - [#1381](https://togithub.com/pre-commit/pre-commit/issues/1381) issue by [@Cielquan](https://togithub.com/Cielquan). - [#1382](https://togithub.com/pre-commit/pre-commit/issues/1382) PR by [@asottile](https://togithub.com/asottile). - Produce readable error message for incorrect argument count to `hook-impl` - [#1394](https://togithub.com/pre-commit/pre-commit/issues/1394) issue by [@pip9ball](https://togithub.com/pip9ball). - [#1395](https://togithub.com/pre-commit/pre-commit/issues/1395) PR by [@asottile](https://togithub.com/asottile). - Fix installations which involve an upgrade of `pip` on windows - [#1398](https://togithub.com/pre-commit/pre-commit/issues/1398) issue by [@xiaohuazi123](https://togithub.com/xiaohuazi123). - [#1399](https://togithub.com/pre-commit/pre-commit/issues/1399) PR by [@asottile](https://togithub.com/asottile). - Preserve line endings in `pre-commit autoupdate` - [#1402](https://togithub.com/pre-commit/pre-commit/issues/1402) PR by [@utek](https://togithub.com/utek). ### [`v2.2.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.2.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.1.1...v2.2.0) ##### Features - Add support for the `post-checkout` hook - [#1120](https://togithub.com/pre-commit/pre-commit/issues/1120) issue by [@domenkozar](https://togithub.com/domenkozar). - [#1339](https://togithub.com/pre-commit/pre-commit/issues/1339) PR by [@andrewhare](https://togithub.com/andrewhare). - Add more readable `--from-ref` / `--to-ref` aliases for `--source` / `--origin` - [#1343](https://togithub.com/pre-commit/pre-commit/issues/1343) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Make sure that `--commit-msg-filename` is passed for `commit-msg` / `prepare-commit-msg`. - [#1336](https://togithub.com/pre-commit/pre-commit/issues/1336) PR by [@particledecay](https://togithub.com/particledecay). - [#1341](https://togithub.com/pre-commit/pre-commit/issues/1341) PR by [@particledecay](https://togithub.com/particledecay). - Fix crash when installation error is un-decodable bytes - [#1358](https://togithub.com/pre-commit/pre-commit/issues/1358) issue by [@Guts](https://togithub.com/Guts). - [#1359](https://togithub.com/pre-commit/pre-commit/issues/1359) PR by [@asottile](https://togithub.com/asottile). - Fix python `healthy()` check when `python` executable goes missing. - [#1363](https://togithub.com/pre-commit/pre-commit/issues/1363) PR by [@asottile](https://togithub.com/asottile). - Fix crash when script executables are missing shebangs. - [#1350](https://togithub.com/pre-commit/pre-commit/issues/1350) issue by [@chriselion](https://togithub.com/chriselion). - [#1364](https://togithub.com/pre-commit/pre-commit/issues/1364) PR by [@asottile](https://togithub.com/asottile). ##### Misc. - pre-commit now requires python>=3.6.1 (previously 3.6.0) - [#1346](https://togithub.com/pre-commit/pre-commit/issues/1346) PR by [@asottile](https://togithub.com/asottile). ### [`v2.1.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.1.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.1.0...v2.1.1) ##### Fixes - Temporarily restore python 3.6.0 support (broken in 2.0.0) - reported by [@obestwalter](https://togithub.com/obestwalter). - [`081f302`](https://togithub.com/pre-commit/pre-commit/commit/081f3028) by [@asottile](https://togithub.com/asottile). ### [`v2.1.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.1.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.0.1...v2.1.0) ##### Features - Replace `aspy.yaml` with `sort_keys=False`. - [#1306](https://togithub.com/pre-commit/pre-commit/issues/1306) PR by [@asottile](https://togithub.com/asottile). - Add support for `perl`. - [#1303](https://togithub.com/pre-commit/pre-commit/issues/1303) PR by [@scop](https://togithub.com/scop). ##### Fixes - Improve `.git/hooks/*` shebang creation when pythons are in `/usr/local/bin`. - [#1312](https://togithub.com/pre-commit/pre-commit/issues/1312) issue by [@kbsezginel](https://togithub.com/kbsezginel). - [#1319](https://togithub.com/pre-commit/pre-commit/issues/1319) PR by [@asottile](https://togithub.com/asottile). ##### Misc. - Add repository badge for pre-commit. - [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\&logoColor=white)](https://togithub.com/pre-commit/pre-commit) - [#1334](https://togithub.com/pre-commit/pre-commit/issues/1334) PR by [@ddelange](https://togithub.com/ddelange). ### [`v2.0.1`](https://togithub.com/pre-commit/pre-commit/releases/v2.0.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v2.0.0...v2.0.1) ##### Fixes - Fix `ImportError` in python 3.6.0 / 3.6.1 for `typing.NoReturn` - [#1302](https://togithub.com/pre-commit/pre-commit/issues/1302) PR by [@asottile](https://togithub.com/asottile). ### [`v2.0.0`](https://togithub.com/pre-commit/pre-commit/releases/v2.0.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.21.0...v2.0.0) ##### Features - Expose `PRE_COMMIT_REMOTE_NAME` and `PRE_COMMIT_REMOTE_URL` as environment variables during `pre-push` hooks. - [#1274](https://togithub.com/pre-commit/pre-commit/issues/1274) issue by [@dmbarreiro](https://togithub.com/dmbarreiro). - [#1288](https://togithub.com/pre-commit/pre-commit/issues/1288) PR by [@dmbarreiro](https://togithub.com/dmbarreiro). ##### Fixes - Fix `python -m pre_commit --version` to mention `pre-commit` instead of `__main__.py`. - [#1273](https://togithub.com/pre-commit/pre-commit/issues/1273) issue by [@ssbarnea](https://togithub.com/ssbarnea). - [#1276](https://togithub.com/pre-commit/pre-commit/issues/1276) PR by [@orcutt989](https://togithub.com/orcutt989). - Don't filter `GIT_SSL_NO_VERIFY` from environment when cloning. - [#1293](https://togithub.com/pre-commit/pre-commit/issues/1293) PR by [@schiermike](https://togithub.com/schiermike). - Allow `pre-commit init-templatedir` to succeed even if `core.hooksPath` is set. - [#1298](https://togithub.com/pre-commit/pre-commit/issues/1298) issue by [@damienrj](https://togithub.com/damienrj). - [#1299](https://togithub.com/pre-commit/pre-commit/issues/1299) PR by [@asottile](https://togithub.com/asottile). ##### Misc - Fix changelog date for 1.21.0. - [#1275](https://togithub.com/pre-commit/pre-commit/issues/1275) PR by [@flaudisio](https://togithub.com/flaudisio). ##### Updating - Removed `pcre` language, use `pygrep` instead. - [#1268](https://togithub.com/pre-commit/pre-commit/issues/1268) PR by [@asottile](https://togithub.com/asottile). - Removed `--tags-only` argument to `pre-commit autoupdate` (it has done nothing since 0.14.0). - [#1269](https://togithub.com/pre-commit/pre-commit/issues/1269) by [@asottile](https://togithub.com/asottile). - Remove python2 / python3.5 support. Note that pre-commit still supports running hooks written in python2, but pre-commit itself requires python 3.6+. - [#1260](https://togithub.com/pre-commit/pre-commit/issues/1260) issue by [@asottile](https://togithub.com/asottile). - [#1277](https://togithub.com/pre-commit/pre-commit/issues/1277) PR by [@asottile](https://togithub.com/asottile). - [#1281](https://togithub.com/pre-commit/pre-commit/issues/1281) PR by [@asottile](https://togithub.com/asottile). - [#1282](https://togithub.com/pre-commit/pre-commit/issues/1282) PR by [@asottile](https://togithub.com/asottile). - [#1287](https://togithub.com/pre-commit/pre-commit/issues/1287) PR by [@asottile](https://togithub.com/asottile). - [#1289](https://togithub.com/pre-commit/pre-commit/issues/1289) PR by [@asottile](https://togithub.com/asottile). - [#1292](https://togithub.com/pre-commit/pre-commit/issues/1292) PR by [@asottile](https://togithub.com/asottile). ### [`v1.21.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.21.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.20.0...v1.21.0) ##### Features - Add `conda` as a new `language`. - [#1204](https://togithub.com/pre-commit/pre-commit/issues/1204) issue by [@xhochy](https://togithub.com/xhochy). - [#1232](https://togithub.com/pre-commit/pre-commit/issues/1232) PR by [@xhochy](https://togithub.com/xhochy). - Add top-level configuration `files` for file selection. - [#1220](https://togithub.com/pre-commit/pre-commit/issues/1220) issue by [@TheButlah](https://togithub.com/TheButlah). - [#1248](https://togithub.com/pre-commit/pre-commit/issues/1248) PR by [@asottile](https://togithub.com/asottile). - Rework `--verbose` / `verbose` to be more consistent with normal runs. - [#1249](https://togithub.com/pre-commit/pre-commit/issues/1249) PR by [@asottile](https://togithub.com/asottile). - Add support for the `pre-merge-commit` git hook. - [#1210](https://togithub.com/pre-commit/pre-commit/issues/1210) PR by [@asottile](https://togithub.com/asottile). - this requires git 2.24+. - Add `pre-commit autoupdate --freeze` which produces "frozen" revisions. - [#1068](https://togithub.com/pre-commit/pre-commit/issues/1068) issue by [@SkypLabs](https://togithub.com/SkypLabs). - [#1256](https://togithub.com/pre-commit/pre-commit/issues/1256) PR by [@asottile](https://togithub.com/asottile). - Display hook runtime duration when run with `--verbose`. - [#1144](https://togithub.com/pre-commit/pre-commit/issues/1144) issue by [@potiuk](https://togithub.com/potiuk). - [#1257](https://togithub.com/pre-commit/pre-commit/issues/1257) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Produce better error message when erroneously running inside of `.git`. - [#1219](https://togithub.com/pre-commit/pre-commit/issues/1219) issue by [@Nusserdt](https://togithub.com/Nusserdt). - [#1224](https://togithub.com/pre-commit/pre-commit/issues/1224) PR by [@asottile](https://togithub.com/asottile). - Note: `git` has since fixed this bug: [git/git@`36fd304`](https://togithub.com/git/git/commit/36fd304d) - Produce better error message when hook installation fails. - [#1250](https://togithub.com/pre-commit/pre-commit/issues/1250) issue by [@asottile](https://togithub.com/asottile). - [#1251](https://togithub.com/pre-commit/pre-commit/issues/1251) PR by [@asottile](https://togithub.com/asottile). - Fix cloning when `GIT_SSL_CAINFO` is necessary. - [#1253](https://togithub.com/pre-commit/pre-commit/issues/1253) issue by [@igankevich](https://togithub.com/igankevich). - [#1254](https://togithub.com/pre-commit/pre-commit/issues/1254) PR by [@igankevich](https://togithub.com/igankevich). - Fix `pre-commit try-repo` for bare, on-disk repositories. - [#1258](https://togithub.com/pre-commit/pre-commit/issues/1258) issue by [@webknjaz](https://togithub.com/webknjaz). - [#1259](https://togithub.com/pre-commit/pre-commit/issues/1259) PR by [@asottile](https://togithub.com/asottile). - Add some whitespace to `pre-commit autoupdate` to improve terminal autolink. - [#1261](https://togithub.com/pre-commit/pre-commit/issues/1261) issue by [@yhoiseth](https://togithub.com/yhoiseth). - [#1262](https://togithub.com/pre-commit/pre-commit/issues/1262) PR by [@yhoiseth](https://togithub.com/yhoiseth). ##### Misc. - Minor code documentation updates. - [#1200](https://togithub.com/pre-commit/pre-commit/issues/1200) PR by [@ryanrhee](https://togithub.com/ryanrhee). - [#1201](https://togithub.com/pre-commit/pre-commit/issues/1201) PR by [@ryanrhee](https://togithub.com/ryanrhee). ### [`v1.20.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.20.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.19.0...v1.20.0) ##### Features - Allow building newer versions of `ruby`. - [#1193](https://togithub.com/pre-commit/pre-commit/issues/1193) issue by [@choffee](https://togithub.com/choffee). - [#1195](https://togithub.com/pre-commit/pre-commit/issues/1195) PR by [@choffee](https://togithub.com/choffee). - Bump versions reported in `pre-commit sample-config`. - [#1197](https://togithub.com/pre-commit/pre-commit/issues/1197) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix rare race condition with multiple concurrent first-time runs. - [#1192](https://togithub.com/pre-commit/pre-commit/issues/1192) issue by [@raholler](https://togithub.com/raholler). - [#1196](https://togithub.com/pre-commit/pre-commit/issues/1196) PR by [@asottile](https://togithub.com/asottile). ### [`v1.19.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.19.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.3...v1.19.0) ##### Features - Allow `--hook-type` to be specified multiple times. - example: `pre-commit install --hook-type pre-commit --hook-type pre-push` - [#1139](https://togithub.com/pre-commit/pre-commit/issues/1139) issue by [@MaxymVlasov](https://togithub.com/MaxymVlasov). - [#1145](https://togithub.com/pre-commit/pre-commit/issues/1145) PR by [@asottile](https://togithub.com/asottile). - Include more version information in crash logs. - [#1142](https://togithub.com/pre-commit/pre-commit/issues/1142) by [@marqueewinq](https://togithub.com/marqueewinq). - Hook colors are now passed through on platforms which support `pty`. - [#1169](https://togithub.com/pre-commit/pre-commit/issues/1169) by [@asottile](https://togithub.com/asottile). - pre-commit now uses `importlib.metadata` directly when running in python 3.8 - [#1176](https://togithub.com/pre-commit/pre-commit/issues/1176) by [@asottile](https://togithub.com/asottile). - Normalize paths to forward slash separators on windows. - makes it easier to match paths with `files:` regex - avoids some quoting bugs in shell-based hooks - [#1173](https://togithub.com/pre-commit/pre-commit/issues/1173) issue by [@steigenTI](https://togithub.com/steigenTI). - [#1179](https://togithub.com/pre-commit/pre-commit/issues/1179) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Remove some extra newlines from error messages. - [#1148](https://togithub.com/pre-commit/pre-commit/issues/1148) by [@asottile](https://togithub.com/asottile). - When a hook is not executable it now reports `not executable` instead of `not found`. - [#1159](https://togithub.com/pre-commit/pre-commit/issues/1159) issue by [@nixjdm](https://togithub.com/nixjdm). - [#1161](https://togithub.com/pre-commit/pre-commit/issues/1161) PR by [@WillKoehrsen](https://togithub.com/WillKoehrsen). - Fix interleaving of stdout / stderr in hooks. - [#1168](https://togithub.com/pre-commit/pre-commit/issues/1168) by [@asottile](https://togithub.com/asottile). - Fix python environment `healthy()` check when current working directory contains modules which shadow standard library names. - issue by [@vwhsu92](https://togithub.com/vwhsu92). - [#1185](https://togithub.com/pre-commit/pre-commit/issues/1185) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Regexes handling both backslashes and forward slashes for directory separators now only need to handle forward slashes. ### [`v1.18.3`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.3) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.2...v1.18.3) ##### Fixes - Fix `node_modules` plugin installation on windows - [#1123](https://togithub.com/pre-commit/pre-commit/issues/1123) issue by [@henryykt](https://togithub.com/henryykt). - [#1122](https://togithub.com/pre-commit/pre-commit/issues/1122) PR by [@henryykt](https://togithub.com/henryykt). ### [`v1.18.2`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.2) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.1...v1.18.2) ##### Fixes - Make default python lookup more deterministic to avoid redundant installs - [#1117](https://togithub.com/pre-commit/pre-commit/issues/1117) PR by [@scop](https://togithub.com/scop). ### [`v1.18.1`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.0...v1.18.1) ##### Fixes - Fix installation of `rust` hooks with new `cargo` - [#1112](https://togithub.com/pre-commit/pre-commit/issues/1112) issue by [@zimbatm](https://togithub.com/zimbatm). - [#1113](https://togithub.com/pre-commit/pre-commit/issues/1113) PR by [@zimbatm](https://togithub.com/zimbatm). ### [`v1.18.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.17.0...v1.18.0) ##### Features - Use the current running executable if it matches the requested `language_version` - [#1062](https://togithub.com/pre-commit/pre-commit/issues/1062) PR by [@asottile](https://togithub.com/asottile). - Print the stage when a hook is not found - [#1078](https://togithub.com/pre-commit/pre-commit/issues/1078) issue by [@madkinsz](https://togithub.com/madkinsz). - [#1079](https://togithub.com/pre-commit/pre-commit/issues/1079) PR by [@madkinsz](https://togithub.com/madkinsz). - `pre-commit autoupdate` now supports non-`master` default branches - [#1089](https://togithub.com/pre-commit/pre-commit/issues/1089) PR by [@asottile](https://togithub.com/asottile). - Add `pre-commit init-templatedir` which makes it easier to automatically enable `pre-commit` in cloned repositories. - [#1084](https://togithub.com/pre-commit/pre-commit/issues/1084) issue by [@ssbarnea](https://togithub.com/ssbarnea). - [#1090](https://togithub.com/pre-commit/pre-commit/issues/1090) PR by [@asottile](https://togithub.com/asottile). - [#1107](https://togithub.com/pre-commit/pre-commit/issues/1107) PR by [@asottile](https://togithub.com/asottile). - pre-commit's color can be controlled using `PRE_COMMIT_COLOR={auto,always,never}` - [#1073](https://togithub.com/pre-commit/pre-commit/issues/1073) issue by [@saper](https://togithub.com/saper). - [#1092](https://togithub.com/pre-commit/pre-commit/issues/1092) PR by [@geieredgar](https://togithub.com/geieredgar). - [#1098](https://togithub.com/pre-commit/pre-commit/issues/1098) PR by [@geieredgar](https://togithub.com/geieredgar). - pre-commit's color can now be disabled using `TERM=dumb` - [#1073](https://togithub.com/pre-commit/pre-commit/issues/1073) issue by [@saper](https://togithub.com/saper). - [#1103](https://togithub.com/pre-commit/pre-commit/issues/1103) PR by [@asottile](https://togithub.com/asottile). - pre-commit now supports `docker` based hooks on windows - [#1072](https://togithub.com/pre-commit/pre-commit/issues/1072) by [@cz-fish](https://togithub.com/cz-fish). - [#1093](https://togithub.com/pre-commit/pre-commit/issues/1093) PR by [@geieredgar](https://togithub.com/geieredgar). ##### Fixes - Fix shallow clone - [#1077](https://togithub.com/pre-commit/pre-commit/issues/1077) PR by [@asottile](https://togithub.com/asottile). - Fix autoupdate version flip flop when using shallow cloning - [#1076](https://togithub.com/pre-commit/pre-commit/issues/1076) issue by [@mxr](https://togithub.com/mxr). - [#1088](https://togithub.com/pre-commit/pre-commit/issues/1088) PR by [@asottile](https://togithub.com/asottile). - Fix autoupdate when the current revision is invalid - [#1088](https://togithub.com/pre-commit/pre-commit/issues/1088) PR by [@asottile](https://togithub.com/asottile). ##### Misc. - Replace development instructions with `tox --devenv ...` - [#1032](https://togithub.com/pre-commit/pre-commit/issues/1032) issue by [@yoavcaspi](https://togithub.com/yoavcaspi). - [#1067](https://togithub.com/pre-commit/pre-commit/issues/1067) PR by [@asottile](https://togithub.com/asottile).Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.