summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 03:10:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 03:10:32 +0000
commitc6c85ebe8e5b1cd200636d30f94c630adf32c6fb (patch)
tree0383c921a26f1923ba5f79102b1b4b6ed4681fe8 /README.md
parentReleasing debian version 4.5.0+dfsg-2. (diff)
downloadpre-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.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9ae7ec5..4992baf 100644
--- a/README.md
+++ b/README.md
@@ -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)