tag:github.com,2008:https://github.com/pre-commit/pre-commit-hooks/releases Release notes from pre-commit-hooks 2024-10-05T18:42:33Z tag:github.com,2008:Repository/17714713/v5.0.0 2024-10-07T21:41:22Z pre-commit-hooks v5.0.0 <h3>Features</h3> <ul> <li><code>requirements-txt-fixer</code>: also remove <code>pkg_resources==...</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1496908200" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/850" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/850/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/850">#850</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericfrederich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericfrederich">@ericfrederich</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2209138685" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1030" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/1030/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/1030">#1030</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericfrederich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericfrederich">@ericfrederich</a>.</li> </ul> </li> <li><code>check-illegal-windows-names</code>: new hook! <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2246677706" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1044" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1044/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1044">#1044</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericfrederich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericfrederich">@ericfrederich</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="864883693" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/589" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/589/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/589">#589</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericfrederich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericfrederich">@ericfrederich</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2264469797" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1049" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1049/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1049">#1049</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Jeffrey-Lim/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Jeffrey-Lim">@Jeffrey-Lim</a>.</li> </ul> </li> <li><code>pretty-format-json</code>: continue processing even if a file has a json error. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2240842866" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1039" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1039/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1039">#1039</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amarvin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amarvin">@amarvin</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2240835738" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1038" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/1038/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/1038">#1038</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amarvin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amarvin">@amarvin</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>destroyed-symlinks</code>: set <code>stages</code> to <code>[pre-commit, pre-push, manual]</code> <ul> <li>PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2481580884" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1085" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1085/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1085">#1085</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AdrianDC/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AdrianDC">@AdrianDC</a>.</li> </ul> </li> </ul> <h3>Migrating</h3> <ul> <li>pre-commit-hooks now requires <code>pre-commit&gt;=3.2.0</code>.</li> <li>use non-deprecated names for <code>stages</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2557937880" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1093" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1093/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1093">#1093</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.6.0 2024-04-06T18:28:01Z pre-commit-hooks v4.6.0 <h3>Features</h3> <ul> <li><code>requirements-txt-fixer</code>: remove duplicate packages. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2146775245" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1014" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1014/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1014">#1014</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vhoulbreque-withings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vhoulbreque-withings">@vhoulbreque-withings</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1883814808" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/960" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/960/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/960">#960</a> issue <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/csibe17/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/csibe17">@csibe17</a>.</li> </ul> </li> </ul> <h3>Migrating</h3> <ul> <li><code>fix-encoding-pragma</code>: deprecated -- will be removed in 5.0.0. use<br> <a href="https://github.com/asottile/pyupgrade">pyupgrade</a> or some other tool. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2220786864" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1033" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/1033/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/1033">#1033</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mxr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mxr">@mxr</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2219402796" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/1032" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/1032/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/1032">#1032</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mxr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mxr">@mxr</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.5.0 2023-10-09T19:39:02Z pre-commit-hooks v4.5.0 <h3>Features</h3> <ul> <li><code>requirements-txt-fixer</code>: also sort <code>constraints.txt</code> by default. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1533222548" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/857" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/857/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/857">#857</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lev-blit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lev-blit">@lev-blit</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1434361213" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/830" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/830/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/830">#830</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/PLPeeters/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/PLPeeters">@PLPeeters</a>.</li> </ul> </li> <li><code>debug-statements</code>: add <code>bpdb</code> debugger. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1833232484" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/942" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/942/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/942">#942</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mwip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mwip">@mwip</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1832980403" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/941" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/941/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/941">#941</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mwip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mwip">@mwip</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>file-contents-sorter</code>: fix sorting an empty file. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1837937109" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/944" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/944/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/944">#944</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RoelAdriaans/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RoelAdriaans">@RoelAdriaans</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1813691162" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/935" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/935/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/935">#935</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/paduszyk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paduszyk">@paduszyk</a>.</li> </ul> </li> <li><code>double-quote-string-fixer</code>: don't rewrite inside f-strings in 3.12+. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1931441607" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/973" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/973/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/973">#973</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1928073492" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/971" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/971/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/971">#971</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/XuehaiPan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/XuehaiPan">@XuehaiPan</a>.</li> </ul> </li> </ul> <h2>Migrating</h2> <ul> <li>now requires python &gt;= 3.8. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1784177291" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/926" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/926/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/926">#926</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1784268721" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/927" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/927/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/927">#927</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.4.0 2023-01-19T20:39:29Z pre-commit-hooks v4.4.0 <h2>Features</h2> <ul> <li>forbid-submodules: new hook which outright bans submodules. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1396773834" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/815" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/815/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/815">#815</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1089467979" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/707" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/707/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/707">#707</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ChiefGokhlayeh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ChiefGokhlayeh">@ChiefGokhlayeh</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.3.0 2022-06-07T17:11:32Z pre-commit-hooks v4.3.0 <h3>Features</h3> <ul> <li><code>check-executables-have-shebangs</code>: use <code>git config core.fileMode</code> to determine if it should query <code>git</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1144607945" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/730" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/730/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/730">#730</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kurt-von-Laven/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kurt-von-Laven">@Kurt-von-Laven</a>.</li> </ul> </li> <li><code>name-tests-test</code>: add <code>--pytest-test-first</code> test convention. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1263539816" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/779" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/779/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/779">#779</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>check-shebang-scripts-are-executable</code>: update windows instructions. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1249724520" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/774" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/774/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/774">#774</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdeweerd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdeweerd">@mdeweerd</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1244226185" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/770" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/770/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/770">#770</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdeweerd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdeweerd">@mdeweerd</a>.</li> </ul> </li> <li><code>check-toml</code>: use stdlib <code>tomllib</code> when available. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1246064968" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/771" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/771/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/771">#771</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/DanielNoord/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/DanielNoord">@DanielNoord</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1212201997" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/755" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/755/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/755">#755</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sognetic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sognetic">@sognetic</a>.</li> </ul> </li> <li><code>check-added-large-files</code>: don't run on non-file <code>stages</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1262071216" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/778" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/778/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/778">#778</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1262014455" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/777" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/777/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/777">#777</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/skyj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/skyj">@skyj</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.2.0 2022-04-06T21:14:57Z pre-commit-hooks v4.2.0 <h3>Features</h3> <ul> <li><code>name-tests-test</code>: updated display text. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1095713273" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/713" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/713/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/713">#713</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> <li><code>check-docstring-first</code>: make output more parsable. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1195177636" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/748/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/748">#748</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> <li><code>check-merge-conflict</code>: make output more parsable. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1195177636" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/748/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/748">#748</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> <li><code>debug-statements</code>: make output more parsable. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1195177636" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/748/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/748">#748</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>check-merge-conflict</code>: fix detection of <code>======</code> conflict marker on windows. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1195177636" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/748" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/748/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/748">#748</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>Drop python&lt;3.7. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1104900989" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/719" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/719/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/719">#719</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> <li>Changed default branch from <code>master</code> to <code>main</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1179917611" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/744" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/744/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/744">#744</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.1.0 2021-12-24T04:50:25Z pre-commit-hooks v4.1.0 <h3>Features</h3> <ul> <li><code>debug-statements</code>: add <code>pdbr</code> debugger. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="921094512" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/614" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/614/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/614">#614</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cansarigol/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cansarigol">@cansarigol</a>.</li> </ul> </li> <li><code>detect-private-key</code>: add detection for additional key types. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1014153326" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/658" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/658/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/658">#658</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ljmf00/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ljmf00">@ljmf00</a>.</li> </ul> </li> <li><code>check-executables-have-shebangs</code>: improve messaging on windows. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1058759145" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/689" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/689/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/689">#689</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pujitm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pujitm">@pujitm</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1055513549" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/686" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/686/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/686">#686</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmerdich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmerdich">@jmerdich</a>.</li> </ul> </li> <li><code>check-added-large-files</code>: support <code>--enforce-all</code> with <code>git-lfs</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1032997583" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/674" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/674/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/674">#674</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/amartani/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/amartani">@amartani</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="811003166" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/560" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/560/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/560">#560</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jeremy-coulon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jeremy-coulon">@jeremy-coulon</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>check-case-conflict</code>: improve performance. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="941014421" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/626" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/626/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/626">#626</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guykisel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guykisel">@guykisel</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="940321582" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/625" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/625/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/625">#625</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guykisel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guykisel">@guykisel</a>.</li> </ul> </li> <li><code>forbid-new-submodules</code>: fix false-negatives for <code>pre-push</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="927727446" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/619" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/619/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/619">#619</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m-khvoinitsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m-khvoinitsky">@m-khvoinitsky</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="910786307" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/609" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/609/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/609">#609</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m-khvoinitsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m-khvoinitsky">@m-khvoinitsky</a>.</li> </ul> </li> <li><code>check-merge-conflict</code>: fix execution in git worktrees. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1015574673" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/662" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/662/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/662">#662</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/errsyn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/errsyn">@errsyn</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="963247130" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/638" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/638/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/638">#638</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/daschuer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/daschuer">@daschuer</a>.</li> </ul> </li> </ul> <h3>Misc.</h3> <ul> <li>Normalize case of hook names and descriptions. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029081397" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/671" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/671/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/671">#671</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dennisroche/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dennisroche">@dennisroche</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1031453376" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/673" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/673/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/673">#673</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/revolter/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/revolter">@revolter</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.0.1 2021-05-16T16:01:56Z pre-commit-hooks v4.0.1 <h3>Fixes</h3> <ul> <li><code>check-shebang-scripts-are-executable</code> fix entry point. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="892584541" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/602" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/602/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/602">#602</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Person-93/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Person-93">@Person-93</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="892641004" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/603" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/603/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/603">#603</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/scop/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/scop">@scop</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v4.0.0 2021-05-15T03:19:46Z pre-commit-hooks v4.0.0 <h3>Features</h3> <ul> <li><code>check-json</code>: report duplicate keys. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="809634749" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/558" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/558/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/558">#558</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AdityaKhursale/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AdityaKhursale">@AdityaKhursale</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="801517851" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/554" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/554/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/554">#554</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/adamchainz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/adamchainz">@adamchainz</a>.</li> </ul> </li> <li><code>no-commit-to-branch</code>: add <code>main</code> to default blocked branches. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="822181677" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/565" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/565/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/565">#565</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ndevenish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ndevenish">@ndevenish</a>.</li> </ul> </li> <li><code>check-case-conflict</code>: check conflicts in directory names as well. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="835382244" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/575" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/575/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/575">#575</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/slsyy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/slsyy">@slsyy</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="89068677" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/70" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/70/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/70">#70</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andyjack/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andyjack">@andyjack</a>.</li> </ul> </li> <li><code>check-vcs-permalinks</code>: forbid other branch names. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="851706321" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/582" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/582/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/582">#582</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jack1142/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jack1142">@jack1142</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="851585164" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/581" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/581/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/581">#581</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jack1142/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jack1142">@jack1142</a>.</li> </ul> </li> <li><code>check-shebang-scripts-are-executable</code>: new hook which ensures shebang'd scripts are executable. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="782204718" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/545" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/545/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/545">#545</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/scop/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/scop">@scop</a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li><code>check-executables-have-shebangs</code>: Short circuit shebang lookup on windows. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="782154019" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/544" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/544/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/544">#544</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/scop/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/scop">@scop</a>.</li> </ul> </li> <li><code>requirements-txt-fixer</code>: Fix comments which have indentation <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="787773842" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/549" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/549/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/549">#549</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/greshilov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/greshilov">@greshilov</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="787773740" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/548" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/548/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/548">#548</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/greshilov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/greshilov">@greshilov</a>.</li> </ul> </li> <li><code>pretty-format-json</code>: write to stdout using UTF-8 encoding. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="831210405" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/571" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/571/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/571">#571</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jack1142/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jack1142">@jack1142</a>.</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="831193510" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/570" data-hovercard-type="issue" data-hovercard-url="/pre-commit/pre-commit-hooks/issues/570/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/issues/570">#570</a> issue by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jack1142/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jack1142">@jack1142</a>.</li> </ul> </li> <li>Use more inclusive language. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="892334532" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/599" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/599/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/599">#599</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> <h3>Breaking changes</h3> <ul> <li>Remove deprecated hooks: <code>flake8</code>, <code>pyflakes</code>, <code>autopep8-wrapper</code>. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="888473353" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/597" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/597/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/597">#597</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/asottile/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/asottile">@asottile</a>.</li> </ul> </li> </ul> asottile tag:github.com,2008:Repository/17714713/v3.4.0 2020-12-15T21:47:41Z pre-commit-hooks v3.4.0 <h3>Features</h3> <ul> <li><code>file-contents-sorter</code>: Add <code>--unique</code> argument <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="728935110" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/524" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/524/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/524">#524</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/danielhoherd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/danielhoherd">@danielhoherd</a>.</li> </ul> </li> <li><code>check-vcs-permalinks</code>: Add <code>--additional-github-domain</code> option <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="744044948" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/530" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/530/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/530">#530</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/youngminz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/youngminz">@youngminz</a>.</li> </ul> </li> <li>New hook: <code>destroyed-symlinks</code> to detect unintentional symlink-breakages on windows. <ul> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="671672070" data-permission-text="Title is private" data-url="https://github.com/pre-commit/pre-commit-hooks/issues/511" data-hovercard-type="pull_request" data-hovercard-url="/pre-commit/pre-commit-hooks/pull/511/hovercard" href="https://github.com/pre-commit/pre-commit-hooks/pull/511">#511</a> PR by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m-khvoinitsky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m-khvoinitsky">@m-khvoinitsky</a>.</li> </ul> </li> </ul> asottile