Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix jinja2 output format in cookiecutter post_gen script #8005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hkwi
Copy link

@hkwi hkwi commented Jan 8, 2024

jinja2 produces python script here and we can't embed json directy in python.

Proposed fixes:

convert OrderedDict to plain dict, and then output it directly in template.

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

Please [X] all the boxes above that apply

jinja2 produces python script here and we can't embed json
directy in python.
@smotornyuk smotornyuk self-assigned this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants