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.

Bewertung

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

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.

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.

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pre-commit/pre-commit.com

Alle Issues in pre-commit/pre-commit.com

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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