◐ Shell
clean mode source ↗

Add deprecation messaging for `fix-encoding-pragma` by mxr · Pull Request #1033 · pre-commit/pre-commit-hooks

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@mxr

@mxr mxr commented

Apr 2, 2024

Copy link Copy Markdown

Member

Related to #1032

@mxr mxr requested a review from asottile

April 2, 2024 15:47

@asottile

asottile commented

Apr 4, 2024

Copy link Copy Markdown

Member

we should make sure to mention this in the README and probably explicitly mention the replacement

@mxr

mxr commented

Apr 4, 2024

Copy link Copy Markdown

Member Author

Updated

@asottile asottile force-pushed the fix-encoding-pragma branch from 3285353 to cef973f Compare

April 6, 2024 18:10

@asottile asottile left a comment

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile asottile enabled auto-merge

April 6, 2024 18:10

@asottile asottile merged commit d87a28b into main

Apr 6, 2024

@asottile asottile deleted the fix-encoding-pragma branch

April 6, 2024 18:12

sai-rekhawar pushed a commit to sai-rekhawar/cloe-nessy-py that referenced this pull request

Jul 1, 2025
… v4.6.0

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | repository | minor | `v4.5.0` -> `v4.6.0` |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

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

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

[Compare Source](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)

##### Features

-   `requirements-txt-fixer`: remove duplicate packages.
    -   [#&#8203;1014](pre-commit/pre-commit-hooks#1014) PR by [@&#8203;vhoulbreque-withings](https://github.com/vhoulbreque-withings).
    -   [#&#8203;960](pre-commit/pre-commit-hooks#960) issue [@&#8203;csibe17](https://github.com/csibe17).

##### Migrating

-   `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0.  use
    [pyupgrade](https://github.com/asottile/pyupgrade) or some other tool.
    -   [#&#8203;1033](pre-commit/pre-commit-hooks#1033) PR by [@&#8203;mxr](https://github.com/mxr).
    -   [#&#8203;1032](pre-commit/pre-commit-hooks#1032) issue by [@&#8203;mxr](https://github.com/mxr).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or PR is renamed to start with "rebase!".

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Related work items: #8822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@asottile asottile asottile approved these changes

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mxr @asottile