Skip to content

Commit

Permalink
chore(deps): update precommit hook pre-commit/pre-commit-hooks to v4 (#…
Browse files Browse the repository at this point in the history
…444)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | repository | major | `v3.4.0` -> `v4.0.1` |

---

### Release Notes

<details>
<summary>pre-commit/pre-commit-hooks</summary>

### [`v4.0.1`](https://github.com/pre-commit/pre-commit-hooks/releases/v4.0.1)

[Compare Source](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.0...v4.0.1)

##### Fixes

-   `check-shebang-scripts-are-executable` fix entry point.
    -   [#&#8203;602](https://github.com/pre-commit/pre-commit-hooks/issues/602) issue by [@&#8203;Person-93](https://github.com/Person-93).
    -   [#&#8203;603](https://github.com/pre-commit/pre-commit-hooks/issues/603) PR by [@&#8203;scop](https://github.com/scop).

### [`v4.0.0`](https://github.com/pre-commit/pre-commit-hooks/releases/v4.0.0)

[Compare Source](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.0)

##### Features

-   `check-json`: report duplicate keys.
    -   [#&#8203;558](https://github.com/pre-commit/pre-commit-hooks/issues/558) PR by [@&#8203;AdityaKhursale](https://github.com/AdityaKhursale).
    -   [#&#8203;554](https://github.com/pre-commit/pre-commit-hooks/issues/554) issue by [@&#8203;adamchainz](https://github.com/adamchainz).
-   `no-commit-to-branch`: add `main` to default blocked branches.
    -   [#&#8203;565](https://github.com/pre-commit/pre-commit-hooks/issues/565) PR by [@&#8203;ndevenish](https://github.com/ndevenish).
-   `check-case-conflict`: check conflicts in directory names as well.
    -   [#&#8203;575](https://github.com/pre-commit/pre-commit-hooks/issues/575) PR by [@&#8203;slsyy](https://github.com/slsyy).
    -   [#&#8203;70](https://github.com/pre-commit/pre-commit-hooks/issues/70) issue by [@&#8203;andyjack](https://github.com/andyjack).
-   `check-vcs-permalinks`: forbid other branch names.
    -   [#&#8203;582](https://github.com/pre-commit/pre-commit-hooks/issues/582) PR by [@&#8203;jack1142](https://github.com/jack1142).
    -   [#&#8203;581](https://github.com/pre-commit/pre-commit-hooks/issues/581) issue by [@&#8203;jack1142](https://github.com/jack1142).
-   `check-shebang-scripts-are-executable`: new hook which ensures shebang'd scripts are executable.
    -   [#&#8203;545](https://github.com/pre-commit/pre-commit-hooks/issues/545) PR by [@&#8203;scop](https://github.com/scop).

##### Fixes

-   `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
    -   [#&#8203;544](https://github.com/pre-commit/pre-commit-hooks/issues/544) PR by [@&#8203;scop](https://github.com/scop).
-   `requirements-txt-fixer`: Fix comments which have indentation
    -   [#&#8203;549](https://github.com/pre-commit/pre-commit-hooks/issues/549) PR by [@&#8203;greshilov](https://github.com/greshilov).
    -   [#&#8203;548](https://github.com/pre-commit/pre-commit-hooks/issues/548) issue by [@&#8203;greshilov](https://github.com/greshilov).
-   `pretty-format-json`: write to stdout using UTF-8 encoding.
    -   [#&#8203;571](https://github.com/pre-commit/pre-commit-hooks/issues/571) PR by [@&#8203;jack1142](https://github.com/jack1142).
    -   [#&#8203;570](https://github.com/pre-commit/pre-commit-hooks/issues/570) issue by [@&#8203;jack1142](https://github.com/jack1142).
-   Use more inclusive language.
    -   [#&#8203;599](https://github.com/pre-commit/pre-commit-hooks/issues/599) PR by [@&#8203;asottile](https://github.com/asottile).

##### Breaking changes

-   Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
    -   [#&#8203;597](https://github.com/pre-commit/pre-commit-hooks/issues/597) PR by [@&#8203;asottile](https://github.com/asottile).

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-storage).
  • Loading branch information
renovate-bot authored May 18, 2021
1 parent 1f96069 commit 3fb5086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down

0 comments on commit 3fb5086

Please sign in to comment.