exercism / exercism/python

[CI]: Consider More Detailed JinJa2 Template Linting and Checking

Aperta
#2,698 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
discussion 💬 smolder🍲
Lingua principale
Python
Stelle
2.5k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

After doing numerous JinJa2 template PRs and test file regeneration (_and getting caught by a nasty indentation bug_), it feels like we could benefit from setting up some linting rules and checks for JinJa2 templates that are a bit more detailed and custom. Right now, we check that the files will produce test files that can be linted by Black, but we don't _really_ do much additional validation.

Marking this as a discussion, since I haven't formed many more thoughts that that around this issue. But I anticipate both more contributors and more changes to templates going forward, so thought I'd make a note here of what I have found so far:

[curlylint](https://www.curlylint.org/docs/rules/all)
[Jinjalint](https://causlayer.orgs.hk/motet-a/jinjalint)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.