diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 81e9e181..20439031 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.1 + rev: v2.2.2 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fa5c960..3c9edf81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +2.2.2 +===== + +### Fixes +- Handle CRLF line endings in `fix-encoding-pragma` + - #384 PR by @asottile. + 2.2.1 ===== diff --git a/README.md b/README.md index 170337cd..a46b2378 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit Add this to your `.pre-commit-config.yaml` - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.1 # Use the ref you want to point at + rev: v2.2.2 # Use the ref you want to point at hooks: - id: trailing-whitespace # - id: ... diff --git a/setup.cfg b/setup.cfg index 2bc3d45c..ebb9df2e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pre_commit_hooks -version = 2.2.1 +version = 2.2.2 description = Some out-of-the-box hooks for pre-commit. long_description = file: README.md long_description_content_type = text/markdown