Title: It’s not clear which languages can’t be used for local hooks · Issue #797 · pre-commit/pre-commit.com · GitHub
Open Graph Title: It’s not clear which languages can’t be used for local hooks · Issue #797 · pre-commit/pre-commit.com
X Title: It’s not clear which languages can’t be used for local hooks · Issue #797 · pre-commit/pre-commit.com
Description: 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...
Open Graph Description: 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 l...
X Description: 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 l...
Opengraph URL: https://github.com/pre-commit/pre-commit.com/issues/797
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"It’s not clear which languages can’t be used for local hooks","articleBody":"According [the repository local hooks section](https://pre-commit.com/#repository-local-hooks),\r\n\r\n\u003e local hooks can use any language which supports [`additional_dependencies`](https://pre-commit.com/#config-additional_dependencies) or `docker_image` / `fail` / `pygrep` / `script` / `system`.\r\n\r\nIt’s not clear to me which languages can’t be used. For example, the descriptions for both [`python`](https://pre-commit.com/#python) and [`ruby`](https://pre-commit.com/#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`](https://pre-commit.com/#dotnet) doesn’t explicitly say that `additional_dependencies` is supported, but it also doesn’t say that `additional_dependencies` isn’t supported.","author":{"url":"https://github.com/Jayman2000","@type":"Person","name":"Jayman2000"},"datePublished":"2023-03-07T13:16:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/797/pre-commit.com/issues/797"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:512edfe9-90db-930c-451f-5dd4d0cacfac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9CA:2265CE:5F68C9D:7CAD5FE:697550BE |
| html-safe-nonce | b3f5daee6ba4f58d369d81791fbf7b7daed9fc68bcf2d2d06d4e5b92f87039e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUNBOjIyNjVDRTo1RjY4QzlEOjdDQUQ1RkU6Njk3NTUwQkUiLCJ2aXNpdG9yX2lkIjoiNjY2MjczMzQ1NzUzNDU3MDY4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82151f7f5205009851218d514baff7ec120d1fcf0fe86d3382483af2ac31de69 |
| hovercard-subject-tag | issue:1613426686 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit.com/797/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80a4094f6b5e3e3038568ff88ada1b84e1ef67330c0f155f6d93d78a401fd485/pre-commit/pre-commit.com/issues/797 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80a4094f6b5e3e3038568ff88ada1b84e1ef67330c0f155f6d93d78a401fd485/pre-commit/pre-commit.com/issues/797 |
| og:image:alt | 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 l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Jayman2000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit.com git https://github.com/pre-commit/pre-commit.com.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 20082226 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit.com |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20082226 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit.com |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width