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

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

Offen
#797 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
208
Forks
307
Ø Merge
20 Std. 3 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, ruby
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.