DiamondLightSource / DiamondLightSource/python-copier-template

Fail if there are undefined variables in the template

Aberta Para iniciantes
#334 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Jinja
Estrelas
25
Forks
10
Merge médio
4h 4min
PRs com merge (30d)
6

Descrição

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
```

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
tooling
Tipo de issue
Funcionalidade
Dificuldade
1/5
Tempo estimado
Menos de uma hora
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
68/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.