Pre-commit

Latest version: v4.0.1

Safety actively analyzes 688027 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 33

1.18.0

===================

Features
- Use the current running executable if it matches the requested
`language_version`
- 1062 PR by asottile.
- Print the stage when a hook is not found
- 1078 issue by madkinsz.
- 1079 PR by madkinsz.
- `pre-commit autoupdate` now supports non-`master` default branches
- 1089 PR by asottile.
- Add `pre-commit init-templatedir` which makes it easier to automatically
enable `pre-commit` in cloned repositories.
- 1084 issue by ssbarnea.
- 1090 PR by asottile.
- 1107 PR by asottile.
- pre-commit's color can be controlled using
`PRE_COMMIT_COLOR={auto,always,never}`
- 1073 issue by saper.
- 1092 PR by geieredgar.
- 1098 PR by geieredgar.
- pre-commit's color can now be disabled using `TERM=dumb`
- 1073 issue by saper.
- 1103 PR by asottile.
- pre-commit now supports `docker` based hooks on windows
- 1072 by cz-fish.
- 1093 PR by geieredgar.

Fixes
- Fix shallow clone
- 1077 PR by asottile.
- Fix autoupdate version flip flop when using shallow cloning
- 1076 issue by mxr.
- 1088 PR by asottile.
- Fix autoupdate when the current revision is invalid
- 1088 PR by asottile.

Misc.
- Replace development instructions with `tox --devenv ...`
- 1032 issue by yoavcaspi.
- 1067 PR by asottile.

1.17.0

===================

Features
- Produce better output on `^C`
- 1030 PR by asottile.
- Warn on unknown keys at the top level and repo level
- 1028 PR by yoavcaspi.
- 1048 PR by asottile.

Fixes
- Fix handling of `^C` in wrapper script in python 3.x
- 1027 PR by asottile.
- Fix `rmtree` for non-writable directories
- 1042 issue by detailyang.
- 1043 PR by asottile.
- Pass `--color` option to `git diff` in `--show-diff-on-failure`
- 1007 issue by chadrik.
- 1051 PR by mandarvaze.

Misc.
- Fix test when `pre-commit` is installed globally
- 1032 issue by yoavcaspi.
- 1045 PR by asottile.

1.16.1

===================

Fixes
- Don't `UnicodeDecodeError` on unexpected non-UTF8 output in python health
check on windows.
- 1021 issue by nicoddemus.
- 1022 PR by asottile.

1.16.0

===================

Features
- Add support for `prepare-commit-msg` hook
- 1004 PR by marcjay.

Fixes
- Fix repeated legacy `pre-commit install` on windows
- 1010 issue by AbhimanyuHK.
- 1011 PR by asottile.
- Whitespace fixup
- 1014 PR by mxr.
- Fix CI check for working pcre support
- 1015 PR by Myrheimb.

Misc.
- Switch CI from travis / appveyor to azure pipelines
- 1012 PR by asottile.

1.15.2

===================

Fixes
- Fix cloning non-branch tag while in the fallback slow-clone strategy.
- 997 issue by jpinner.
- 998 PR by asottile.

1.15.1

===================

Fixes
- Fix command length calculation on posix when `SC_ARG_MAX` is not defined.
- 691 issue by ushuz.
- 987 PR by asottile.

Page 12 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.