From 4d721865e7b9a2ea3c0c2a52e7e4f87bdfaf0148 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 24 Jun 2024 15:20:51 +0200 Subject: [PATCH] Document that additional_dependencies is supported for python --- sections/new-hooks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sections/new-hooks.md b/sections/new-hooks.md index 4fc886a5..5d8c50e3 100644 --- a/sections/new-hooks.md +++ b/sections/new-hooks.md @@ -384,6 +384,10 @@ The hook repository must be installable via `pip install .` (usually by either executable that will match the [`entry`](#hooks-entry) – usually through `console_scripts` or `scripts` in setup.py. +This language also supports `additional_dependencies` +so it can be used with [local](#repository-local-hooks) hooks. +The specified dependencies will be appended to the `pip install` command. + __Support:__ python hooks work without any system-level dependencies. It has been tested on linux, macOS, windows, and cygwin.