pre-commit.com icon indicating copy to clipboard operation
pre-commit.com copied to clipboard

It’s not clear which languages can’t be used for local hooks

Open Jayman2000 opened this issue 2 years ago • 3 comments

According the repository local hooks section,

local hooks can use any language which supports additional_dependencies or docker_image / fail / pygrep / script / system.

It’s not clear to me which languages can’t be used. For example, the descriptions for both python and ruby don’t explicitly mention that those languages support additional_dependencies, but they do indeed support additional_dependencies. This makes me question whether or not you can create (for example) a local dotnet hook. The description for dotnet doesn’t explicitly say that additional_dependencies is supported, but it also doesn’t say that additional_dependencies isn’t supported.

Jayman2000 avatar Mar 07 '23 13:03 Jayman2000

Similarly, I can’t find documentation about what languages are supported on pre-commit.ci. E.g. docker_image isn’t, what else?

flying-sheep avatar Mar 21 '24 10:03 flying-sheep

just the docker based ones, everything else should work

asottile avatar Mar 21 '24 12:03 asottile

related:

  • #980

soxofaan avatar Jul 02 '24 09:07 soxofaan