mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
v1.14.0
This commit is contained in:
parent
84c398d6f4
commit
1cf4b54cba
2 changed files with 59 additions and 1 deletions
58
CHANGELOG.md
58
CHANGELOG.md
|
|
@ -1,3 +1,61 @@
|
||||||
|
1.14.0
|
||||||
|
======
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Add an `alias` configuration value to allow repeated hooks to be
|
||||||
|
differentiated
|
||||||
|
- #882 issue by @s0undt3ch.
|
||||||
|
- #886 PR by @s0undt3ch.
|
||||||
|
- Add `identity` meta hook which just prints filenames
|
||||||
|
- #865 issue by @asottile.
|
||||||
|
- #898 PR by @asottile.
|
||||||
|
- Factor out `cached-property` and improve startup performance by ~10%
|
||||||
|
- #899 PR by @asottile.
|
||||||
|
- Add a warning on unexpected keys in configuration
|
||||||
|
- #899 PR by @asottile.
|
||||||
|
- Teach `pre-commit try-repo` to clone uncommitted changes on disk.
|
||||||
|
- #589 issue by @sverhagen.
|
||||||
|
- #703 issue by @asottile.
|
||||||
|
- #904 PR by @asottile.
|
||||||
|
- Implement `pre-commit gc` which will clean up no-longer-referenced cache
|
||||||
|
repos.
|
||||||
|
- #283 issue by @jtwang.
|
||||||
|
- #906 PR by @asottile.
|
||||||
|
- Add top level config `default_language_version` to streamline overriding the
|
||||||
|
`language_version` configuration in many places
|
||||||
|
- #647 issue by @asottile.
|
||||||
|
- #908 PR by @asottile.
|
||||||
|
- Add top level config `default_stages` to streamline overriding the `stages`
|
||||||
|
configuration in many places
|
||||||
|
- #768 issue by @mattlqx.
|
||||||
|
- #909 PR by @asottile.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- More intelligently pick hook shebang (`#!/usr/bin/env python3`)
|
||||||
|
- #878 issue by @fristedt.
|
||||||
|
- #893 PR by @asottile.
|
||||||
|
- Several fixes related to `--files` / `--config`:
|
||||||
|
- `pre-commit run --files x` outside of a git dir no longer stacktraces
|
||||||
|
- `pre-commit run --config ./relative` while in a sub directory of the git
|
||||||
|
repo is now able to find the configuration
|
||||||
|
- `pre-commit run --files ...` no longer runs a subprocess per file
|
||||||
|
(performance)
|
||||||
|
- #895 PR by @asottile.
|
||||||
|
- `pre-commit try-repo ./relative` while in a sub directory of the git repo is
|
||||||
|
now able to clone properly
|
||||||
|
- #903 PR by @asottile.
|
||||||
|
- Ensure `meta` repos cannot have a language other than `system`
|
||||||
|
- #905 issue by @asottile.
|
||||||
|
- #907 PR by @asottile.
|
||||||
|
- Fix committing with unstaged files that were `git add --intent-to-add` added
|
||||||
|
- #881 issue by @henniss.
|
||||||
|
- #912 PR by @asottile.
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
- Use `--no-gpg-sign` when running tests
|
||||||
|
- #894 PR by @s0undt3ch.
|
||||||
|
|
||||||
|
|
||||||
1.13.0
|
1.13.0
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -13,7 +13,7 @@ setup(
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
url='https://github.com/pre-commit/pre-commit',
|
url='https://github.com/pre-commit/pre-commit',
|
||||||
version='1.13.0',
|
version='1.14.0',
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue