diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 03:10:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 03:10:32 +0000 |
commit | c6c85ebe8e5b1cd200636d30f94c630adf32c6fb (patch) | |
tree | 0383c921a26f1923ba5f79102b1b4b6ed4681fe8 /README.md | |
parent | Releasing debian version 4.5.0+dfsg-2. (diff) | |
download | pre-commit-hooks-c6c85ebe8e5b1cd200636d30f94c630adf32c6fb.tar.xz pre-commit-hooks-c6c85ebe8e5b1cd200636d30f94c630adf32c6fb.zip |
Merging upstream version 4.6.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,7 +15,7 @@ Add this to your `.pre-commit-config.yaml` ```yaml - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 # Use the ref you want to point at + rev: v4.6.0 # Use the ref you want to point at hooks: - id: trailing-whitespace # - id: ... @@ -127,6 +127,9 @@ The following arguments are available: removes UTF-8 byte order marker #### `fix-encoding-pragma` + +_Deprecated since py2 is EOL - use [pyupgrade](https://github.com/asottile/pyupgrade) instead._ + Add `# -*- coding: utf-8 -*-` to the top of python files. - To remove the coding pragma pass `--remove` (useful in a python3-only codebase) |