bugfix - change jinja2 delimiters#1767
Conversation
|
Any news on this one? |
Fix flake8 url in pre-commit
…ements Add nox to test requirements
Add new cookieninja logo
Delete old logo
….1.0 Change version to 0.1.0
Docs: edit readme to fork
…kflow Fix pip-publish workflow's setup python stage
Fix readme links
Edit docs to fork
…r-1.0.0-release Prepare for release 1.0.0
|
@ericof - firstly, apologies on the This change would ensure that i can use afformentioned |
|
For anyone who stumbles upon this in the future, if this hasn't been merged, a workaround i have been using which isn't perfect but gets the job done (i'd rather have a workaround for this than use post_gen_project.pyAssumes you have the cookie contents within a folder such as import pathlib
import shutil
PROJECT_SLUG = "{{ cookiecutter.project_slug }}"
OUTPUT_DIR = "{{ cookiecutter._output_dir }}"
{% raw %}
def move_resources():
src = pathlib.Path().absolute()
dest = pathlib.Path(OUTPUT_DIRECTORY)
shutil.copytree(src, dest, dirs_exist_ok=True)
shutil.rmtree(src)
if __name__ == "__main__":
move_resources()
{% endraw %} |
Enable py311 support
Allow nested config files
Docs: change tox to nox
…-logo Update the Cookieninja logo
…cters-docs Fixing Carriage Return Line Feed (CRLF) order in docs
Dynamic choice variable
5fd2067 to
6ce83ea
Compare
|
Hi @stefan-caraiman , @jack1902 We started working on a new community fork of the Cookiecutter project, named Cookieninja. We have re-opened and merged your PR in the Cookieninja project at: cookieninja-generator/cookieninja#36 We're trying to bring the life back to this amazing project. Thank you :) |
kurtmckee
left a comment
There was a problem hiding this comment.
@jensens @ericof @browniebroke Please close this PR. It hijacks the publishing workflow to publish cookiecutter to a different project name on PyPI.
Addresses #1736 .
Fixed bug where NonTemplatedInputDirException exception was raised when change jinja2 delimiters via
_jinja2_env_varsin thecookiecutter.json.Also, added a unit-test for recreate this bug.