DiamondLightSource / DiamondLightSource/python-copier-template
Fail if there are undefined variables in the template
Aperta
Adatta ai principianti
- Lingua principale
- Jinja
- Stelle
- 25
- Fork
- 10
- Merge medio
- 4h 4m
- PR unite (30g)
- 6
Descrizione
As soon as https://github.com/copier-org/copier/pull/2587 is released we should use it.
This should be as simple as:
```yaml
_envops:
undefined: jinja2.StrictUndefined
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Wait for copier PR #2587 to be released, then inspect the template configuration and identify where the _envops settings belong. Apply the requested undefined-variable behavior and verify that rendering a template with an undefined variable fails as expected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 68/100