DiamondLightSource / DiamondLightSource/python-copier-template
Fail if there are undefined variables in the template
Offen
Anfängerfreundlich
- Vorherrschende Sprache
- Jinja
- Sterne
- 25
- Forks
- 10
- Ø Merge
- 4 Std. 4 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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
```
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 68/100