12rambau / pytest-copie

The pytest plugin for your copier templates 📒
https://pytest-copie.readthedocs.io/en/latest/
MIT License
14 stars 2 forks source link

answers are not processed if they use template #38

Closed 12rambau closed 10 months ago

12rambau commented 10 months ago

using the following default copier.yml:

# questions
project_name:
  typr: str
  default: "Package skeleton"
  help: "The name of the project"

github_repo_name:
  type: str
  default: "{{ project_name.lower().replace(' ', '-') }}"
  help: "The name of the GitHub repository"

project_slug:
  type: str
  default: "{{ github_repo_name.lower().replace('-', '_') }}"
  help: "The slug that will be used to name the lib package"

will not replace the values in the default. making them impossible to use.