mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
v2.8.0
This commit is contained in:
parent
763dbc0ac6
commit
a3c9721d8f
3 changed files with 65 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v3.1.0
|
rev: v3.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
@ -12,25 +12,25 @@ repos:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: double-quote-string-fixer
|
- id: double-quote-string-fixer
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 3.8.3
|
rev: 3.8.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies: [flake8-typing-imports==1.6.0]
|
additional_dependencies: [flake8-typing-imports==1.10.0]
|
||||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||||
rev: v1.5.3
|
rev: v1.5.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: autopep8
|
- id: autopep8
|
||||||
- repo: https://github.com/pre-commit/pre-commit
|
- repo: https://github.com/pre-commit/pre-commit
|
||||||
rev: v2.6.0
|
rev: v2.7.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: validate_manifest
|
- id: validate_manifest
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.6.2
|
rev: v2.7.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py36-plus]
|
args: [--py36-plus]
|
||||||
- repo: https://github.com/asottile/reorder_python_imports
|
- repo: https://github.com/asottile/reorder_python_imports
|
||||||
rev: v2.3.0
|
rev: v2.3.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
args: [--py3-plus]
|
args: [--py3-plus]
|
||||||
|
|
@ -40,11 +40,11 @@ repos:
|
||||||
- id: add-trailing-comma
|
- id: add-trailing-comma
|
||||||
args: [--py36-plus]
|
args: [--py36-plus]
|
||||||
- repo: https://github.com/asottile/setup-cfg-fmt
|
- repo: https://github.com/asottile/setup-cfg-fmt
|
||||||
rev: v1.10.0
|
rev: v1.15.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: setup-cfg-fmt
|
- id: setup-cfg-fmt
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.782
|
rev: v0.790
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
exclude: ^testing/resources/
|
exclude: ^testing/resources/
|
||||||
|
|
|
||||||
54
CHANGELOG.md
54
CHANGELOG.md
|
|
@ -1,3 +1,57 @@
|
||||||
|
2.8.0 - 2020-10-28
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Improve `healthy()` check for `language: node` + `language_version: system`
|
||||||
|
hooks when the system executable goes missing.
|
||||||
|
- pre-commit/action#45 issue by @KOliver94.
|
||||||
|
- #1589 issue by @asottile.
|
||||||
|
- #1590 PR by @asottile.
|
||||||
|
- Fix excess whitespace in error log traceback
|
||||||
|
- #1592 PR by @asottile.
|
||||||
|
- Fix posixlike shebang invocations with shim executables of the git hook
|
||||||
|
script on windows.
|
||||||
|
- #1593 issue by @Celeborn2BeAlive.
|
||||||
|
- #1595 PR by @Celeborn2BeAlive.
|
||||||
|
- Remove hard-coded `C:\PythonXX\python.exe` path on windows as it caused
|
||||||
|
confusion (and `virtualenv` can sometimes do better)
|
||||||
|
- #1599 PR by @asottile.
|
||||||
|
- Fix `language: ruby` hooks when `--format-executable` is present in a gemrc
|
||||||
|
- issue by `Rainbow Tux` (discord).
|
||||||
|
- #1603 PR by @asottile.
|
||||||
|
- Move `cygwin` / `win32` mismatch error earlier to catch msys2 mismatches
|
||||||
|
- #1605 issue by @danyeaw.
|
||||||
|
- #1606 PR by @asottile.
|
||||||
|
- Remove `-p` workaround for old `virtualenv`
|
||||||
|
- #1617 PR by @asottile.
|
||||||
|
- Fix `language: node` installations to not symlink outside of the environment
|
||||||
|
- pre-commit-ci/issues#2 issue by @DanielJSottile.
|
||||||
|
- #1667 PR by @asottile.
|
||||||
|
- Don't identify shim executables as valid `system` for defaulting
|
||||||
|
`language_version` for `language: node` / `language: ruby`
|
||||||
|
- #1658 issue by @adithyabsk.
|
||||||
|
- #1668 PR by @asottile.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Update `rbenv` / `ruby-build`
|
||||||
|
- #1612 issue by @tdeo.
|
||||||
|
- #1614 PR by @asottile.
|
||||||
|
- Update `sample-config` versions
|
||||||
|
- #1611 PR by @mcsitter.
|
||||||
|
- Add new language: `dotnet`
|
||||||
|
- #1598 by @rkm.
|
||||||
|
- Add `--negate` option to `language: pygrep` hooks
|
||||||
|
- #1643 PR by @MarcoGorelli.
|
||||||
|
- Add zipapp support
|
||||||
|
- #1616 PR by @asottile.
|
||||||
|
- Run pre-commit through https://pre-commit.ci
|
||||||
|
- #1662 PR by @asottile.
|
||||||
|
- Add new language: `coursier` (a jvm-based package manager)
|
||||||
|
- #1633 PR by @JosephMoniz.
|
||||||
|
- Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C)
|
||||||
|
- #1601 PR by @int3l.
|
||||||
|
|
||||||
|
|
||||||
2.7.1 - 2020-08-23
|
2.7.1 - 2020-08-23
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = pre_commit
|
name = pre_commit
|
||||||
version = 2.7.1
|
version = 2.8.0
|
||||||
description = A framework for managing and maintaining multi-language pre-commit hooks.
|
description = A framework for managing and maintaining multi-language pre-commit hooks.
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
@ -16,6 +16,7 @@ classifiers =
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
Programming Language :: Python :: 3.8
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: Implementation :: CPython
|
Programming Language :: Python :: Implementation :: CPython
|
||||||
Programming Language :: Python :: Implementation :: PyPy
|
Programming Language :: Python :: Implementation :: PyPy
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue