Pre-commit

Latest version: v3.7.1

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

Scan your dependencies

Page 11 of 33

1.18.3

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

Fixes
- Fix `node_modules` plugin installation on windows
- 1123 issue by henryykt.
- 1122 PR by henryykt.

1.18.2

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

Fixes
- Make default python lookup more deterministic to avoid redundant installs
- 1117 PR by scop.

1.18.1

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

Fixes
- Fix installation of `rust` hooks with new `cargo`
- 1112 issue by zimbatm.
- 1113 PR by zimbatm.

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.

Page 11 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.