Skip to content

Commit a3c9721

Browse files
committed
v2.8.0
1 parent 763dbc0 commit a3c9721

File tree

3 files changed

+65
-10
lines changed

3 files changed

+65
-10
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.1.0
3+
rev: v3.3.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -12,25 +12,25 @@ repos:
1212
- id: requirements-txt-fixer
1313
- id: double-quote-string-fixer
1414
- repo: https://gitlab.com/pycqa/flake8
15-
rev: 3.8.3
15+
rev: 3.8.4
1616
hooks:
1717
- id: flake8
18-
additional_dependencies: [flake8-typing-imports==1.6.0]
18+
additional_dependencies: [flake8-typing-imports==1.10.0]
1919
- repo: https://github.com/pre-commit/mirrors-autopep8
20-
rev: v1.5.3
20+
rev: v1.5.4
2121
hooks:
2222
- id: autopep8
2323
- repo: https://github.com/pre-commit/pre-commit
24-
rev: v2.6.0
24+
rev: v2.7.1
2525
hooks:
2626
- id: validate_manifest
2727
- repo: https://github.com/asottile/pyupgrade
28-
rev: v2.6.2
28+
rev: v2.7.3
2929
hooks:
3030
- id: pyupgrade
3131
args: [--py36-plus]
3232
- repo: https://github.com/asottile/reorder_python_imports
33-
rev: v2.3.0
33+
rev: v2.3.5
3434
hooks:
3535
- id: reorder-python-imports
3636
args: [--py3-plus]
@@ -40,11 +40,11 @@ repos:
4040
- id: add-trailing-comma
4141
args: [--py36-plus]
4242
- repo: https://github.com/asottile/setup-cfg-fmt
43-
rev: v1.10.0
43+
rev: v1.15.1
4444
hooks:
4545
- id: setup-cfg-fmt
4646
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: v0.782
47+
rev: v0.790
4848
hooks:
4949
- id: mypy
5050
exclude: ^testing/resources/

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
2.8.0 - 2020-10-28
2+
==================
3+
4+
### Fixes
5+
- Improve `healthy()` check for `language: node` + `language_version: system`
6+
hooks when the system executable goes missing.
7+
- pre-commit/action#45 issue by @KOliver94.
8+
- #1589 issue by @asottile.
9+
- #1590 PR by @asottile.
10+
- Fix excess whitespace in error log traceback
11+
- #1592 PR by @asottile.
12+
- Fix posixlike shebang invocations with shim executables of the git hook
13+
script on windows.
14+
- #1593 issue by @Celeborn2BeAlive.
15+
- #1595 PR by @Celeborn2BeAlive.
16+
- Remove hard-coded `C:\PythonXX\python.exe` path on windows as it caused
17+
confusion (and `virtualenv` can sometimes do better)
18+
- #1599 PR by @asottile.
19+
- Fix `language: ruby` hooks when `--format-executable` is present in a gemrc
20+
- issue by `Rainbow Tux` (discord).
21+
- #1603 PR by @asottile.
22+
- Move `cygwin` / `win32` mismatch error earlier to catch msys2 mismatches
23+
- #1605 issue by @danyeaw.
24+
- #1606 PR by @asottile.
25+
- Remove `-p` workaround for old `virtualenv`
26+
- #1617 PR by @asottile.
27+
- Fix `language: node` installations to not symlink outside of the environment
28+
- pre-commit-ci/issues#2 issue by @DanielJSottile.
29+
- #1667 PR by @asottile.
30+
- Don't identify shim executables as valid `system` for defaulting
31+
`language_version` for `language: node` / `language: ruby`
32+
- #1658 issue by @adithyabsk.
33+
- #1668 PR by @asottile.
34+
35+
### Features
36+
- Update `rbenv` / `ruby-build`
37+
- #1612 issue by @tdeo.
38+
- #1614 PR by @asottile.
39+
- Update `sample-config` versions
40+
- #1611 PR by @mcsitter.
41+
- Add new language: `dotnet`
42+
- #1598 by @rkm.
43+
- Add `--negate` option to `language: pygrep` hooks
44+
- #1643 PR by @MarcoGorelli.
45+
- Add zipapp support
46+
- #1616 PR by @asottile.
47+
- Run pre-commit through https://pre-commit.ci
48+
- #1662 PR by @asottile.
49+
- Add new language: `coursier` (a jvm-based package manager)
50+
- #1633 PR by @JosephMoniz.
51+
- Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C)
52+
- #1601 PR by @int3l.
53+
54+
155
2.7.1 - 2020-08-23
256
==================
357

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pre_commit
3-
version = 2.7.1
3+
version = 2.8.0
44
description = A framework for managing and maintaining multi-language pre-commit hooks.
55
long_description = file: README.md
66
long_description_content_type = text/markdown
@@ -16,6 +16,7 @@ classifiers =
1616
Programming Language :: Python :: 3.6
1717
Programming Language :: Python :: 3.7
1818
Programming Language :: Python :: 3.8
19+
Programming Language :: Python :: 3.9
1920
Programming Language :: Python :: Implementation :: CPython
2021
Programming Language :: Python :: Implementation :: PyPy
2122

0 commit comments

Comments
 (0)