@@ -155,8 +155,8 @@ Hello from foo hook!
155155- [rust](#rust)
156156- [swift](#swift)
157157- [pygrep](#pygrep)
158- - [script ](#script )
159- - [system ](#system )
158+ - [unsupported ](#unsupported )
159+ - [unsupported_script ](#unsupported_scripts )
160160
161161# ## conda
162162
@@ -492,23 +492,27 @@ To require all files to match, use `args: [--negate]`.
492492__Support:__ pygrep hooks are supported on all platforms which pre-commit runs
493493on.
494494
495- # ## script
495+ # ## unsupported
496496
497- Script hooks provide a way to write simple scripts which validate files. The
498- [`entry`](#hooks-entry) should be a path relative to the root of the hook repository.
497+ [anchor](__#system)
498+ _new in 4.4.0_ : previously `language: system`. the alias will be removed in a
499+ future version
500+
501+ System hooks provide a way to write hooks for system-level executables which
502+ don't have a supported language above (or have special environment
503+ requirements that don't allow them to run in isolation such as pylint).
499504
500505This hook type will not be given a virtual environment to work with – if it
501506needs additional dependencies the consumer must install them manually.
502507
503- __Support:__ the support of script hooks depend on the scripts themselves.
508+ # ## unsupported_script
504509
505- # ## system
510+ [anchor](__#script)
511+ _new in 4.4.0_ : previously `language: script`. the alias will be removed in a
512+ future version
506513
507- System hooks provide a way to write hooks for system-level executables which
508- don't have a supported language above (or have special environment
509- requirements that don't allow them to run in isolation such as pylint).
514+ Script hooks provide a way to write simple scripts which validate files. The
515+ [`entry`](#hooks-entry) should be a path relative to the root of the hook repository.
510516
511517This hook type will not be given a virtual environment to work with – if it
512518needs additional dependencies the consumer must install them manually.
513-
514- __Support:__ the support of system hooks depend on the executables.
0 commit comments