pre-commit/pre_commit/commands
Daniel Bast 7c81f11d63 Add freeze config option for autoupdate command
This commit adds a new 'freeze' option to the CONFIG_SCHEMA, allowing users
to set 'freeze: true' in their pre-commit configuration file.

The intend are two effects, when setting `freeze: True`:
* Enables freeze automatically when running `pre-commit autoupdate` (no
  need then anymore to specify --freeze).
* Enables https://pre-commit.ci/ to freeze hooks as part of update PRs.
2025-03-19 09:10:40 +01:00
..
__init__.py Move commands into their own files. 2014-06-13 19:52:14 -07:00
autoupdate.py Add freeze config option for autoupdate command 2025-03-19 09:10:40 +01:00
clean.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
gc.py drop python 3.6 support 2022-01-18 18:44:20 -05:00
hook_impl.py python3.9+ 2023-10-28 14:20:37 -04:00
init_templatedir.py implement default_install_hook_types 2022-04-02 15:11:31 -04:00
install_uninstall.py shlex.join is always available in 3.8+ 2023-07-01 17:22:42 -04:00
migrate_config.py fix migrate-config for purelib yaml 2024-10-08 11:46:48 -04:00
run.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2024-07-29 21:59:19 +00:00
sample_config.py remove obsolete comment 2022-11-27 16:30:58 -05:00
try_repo.py add pre_commit.yaml module 2023-01-02 18:42:34 -05:00
validate_config.py python3.9+ 2023-10-28 14:20:37 -04:00
validate_manifest.py python3.9+ 2023-10-28 14:20:37 -04:00