@@ -37,7 +37,6 @@ file that tells pre-commit:
3737 =c= [`types_or`](_#hooks-types_or)
3838 =c= (optional: default `[]`) list of file types to run on (OR). See
3939 [Filtering files with types](#filtering-files-with-types).
40- _new in 2.9.0_.
4140=r=
4241 =c= [`exclude_types`](_#hooks-exclude_types)
4342 =c= (optional: default `[]`) the pattern of files to exclude.
@@ -48,7 +47,7 @@ file that tells pre-commit:
4847=r=
4948 =c= [`fail_fast`](_#hooks-fail_fast)
5049 =c= (optional: default `false`) if `true` pre-commit will stop running
51- hooks if this hook fails. _new in 2.16.0_.
50+ hooks if this hook fails.
5251=r=
5352 =c= [`verbose`](_#hooks-verbose)
5453 =c= (optional: default `false`) if `true`, forces the output of the hook to be printed even when
@@ -151,7 +150,6 @@ Hello from foo hook!
151150- [node](#node)
152151- [perl](#perl)
153152- [python](#python)
154- - [python_venv](#python_venv)
155153- [r](#r)
156154- [ruby](#ruby)
157155- [rust](#rust)
@@ -169,7 +167,7 @@ The `conda` language also supports [`additional_dependencies`](#config-additiona
169167and will pass any of the values directly into `conda install`. This language can therefore be
170168used with [local](#repository-local-hooks) hooks.
171169
172- _new in 2.17.0_ : ` mamba` or `micromamba` can be used to install instead via the
170+ ` mamba` or `micromamba` can be used to install instead via the
173171` PRE_COMMIT_USE_MAMBA=1` or `PRE_COMMIT_USE_MICROMAMBA=1` environment
174172variables.
175173
@@ -179,8 +177,6 @@ It has been tested on linux, macOS, and windows.
179177
180178# ## coursier
181179
182- _new in 2.8.0_
183-
184180The hook repository must have a `.pre-commit-channel` folder and that folder
185181must contain the coursier
186182[application descriptors](https://get-coursier.io/docs/2.0.0-RC6-10/cli-install.html#application-descriptor-reference)
@@ -193,16 +189,14 @@ __Support:__ `coursier` hooks are known to work on any system which has the
193189applications you install may depend on various versions of the JVM, consult
194190the hooks' documentation for clarification. It has been tested on linux.
195191
196- _new in 2.18.0_ : pre-commit now supports the `coursier` naming of the package
197- manager executable.
192+ pre-commit also supports the `coursier` naming of the package manager
193+ executable.
198194
199195_new in 3.0.0_ : ` language: coursier` hooks now support `repo: local` and
200196` additional_dependencies` .
201197
202198# ## dart
203199
204- _new in 2.15.0_
205-
206200The hook repository must have a `pubspec.yaml` -- this must contain an
207201` executables` section which will list the binaries that will be available
208202after installation. Match the [`entry`](#hooks-entry) to an executable.
@@ -274,8 +268,6 @@ For example:
274268
275269# ## dotnet
276270
277- _new in 2.8.0_
278-
279271dotnet hooks are installed using the system installation of the dotnet CLI.
280272
281273Hook repositories must contain a dotnet CLI tool which can be `pack`ed and
@@ -340,8 +332,6 @@ installed. It has been tested on linux, macOS, and windows.
340332
341333### lua
342334
343- _new in 2.17.0_
344-
345335Lua hooks are installed with the version of Lua that is used by Luarocks.
346336
347337__Support:__ Lua hooks are known to work on any system which has Luarocks
@@ -358,8 +348,6 @@ been tested on linux, windows, and macOS and _may_ work under cygwin.
358348
359349### perl
360350
361- _new in 2.1.0_
362-
363351Perl hooks are installed using the system installation of
364352[cpan](https://perldoc.perl.org/cpan), the CPAN package installer
365353that comes with Perl.
@@ -391,24 +379,8 @@ The specified dependencies will be appended to the `pip install` command.
391379__Support:__ python hooks work without any system-level dependencies. It
392380has been tested on linux, macOS, windows, and cygwin.
393381
394- ### python_venv
395-
396- _new in 2.4.0_: The `python_venv` language is now an alias to `python` since
397- `virtualenv>=20` creates equivalently structured environments. Previously,
398- this [`language`](#hooks-language) created environments using the [venv] module.
399-
400- This [`language`](#hooks-language) will be removed eventually so it is suggested to use `python`
401- instead.
402-
403- [venv]: https://docs.python.org/3/library/venv.html
404-
405- __Support:__ python hooks work without any system-level dependencies. It
406- has been tested on linux, macOS, windows, and cygwin.
407-
408382### r
409383
410- _new in 2.11.0_
411-
412384This hook repository must have a `renv.lock` file that will be restored with
413385[`renv::restore()`](https://rstudio.github.io/renv/reference/restore.html) on
414386hook installation. If the repository is an R package (i.e. has `Type: Package`
@@ -452,8 +424,8 @@ build _your_ hook repo), or the special syntax
452424` cli:{package_name}:{package_version}` for a CLI dependency (built separately,
453425with binaries made available for use by hooks).
454426
455- _new in 2.21.0_ : pre-commit will bootstrap `rust` if it is not present.
456- `language : rust` also now supports `language_version`
427+ pre-commit will bootstrap `rust` if it is not present.
428+ `language : rust` also supports `language_version`
457429
458430__Support:__ It has been tested on linux, Windows, and macOS.
459431
@@ -476,7 +448,7 @@ can apply the `(?i)` flag as the start of your entry, or use `args: [-i]`.
476448
477449For multiline matches, use `args : [--multiline]`.
478450
479- _new in 2.8.0_ : To require all files to match, use `args: [--negate]`.
451+ To require all files to match, use `args : [--negate]`.
480452
481453__Support:__ pygrep hooks are supported on all platforms which pre-commit runs
482454on.
0 commit comments