pre-commit / pre-commit/pre-commit.com

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

未關閉
#797 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
208
分支
307
平均合併
20 小時 3 分鐘
30 天內合併 PR
4

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

Start with the repository local hooks section and the linked language descriptions for python, ruby, and dotnet. Compare how support for additional_dependencies is documented, then clarify which languages can be used for local hooks and make the result unambiguous for dotnet and other languages.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, ruby
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。