Skip to content

Commit e89833d

Browse files
committed
fix: moves jinja logic into docstring because apparently that matters somehow
1 parent 0e4d01b commit e89833d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hooks/pre_gen_project.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
"""Cookiecutter hook that runs before template generation."""
1+
"""Cookiecutter hook that runs before template generation.
22
3-
4-
ESCAPED_JINJA_SETUP: str = """
53
{%- set min_minor = cookiecutter.min_python_version.split('.')[1] | int %}
64
{%- set max_minor = cookiecutter.max_python_version.split('.')[1] | int %}
75
{%- set versions = ["3." + (i|string) for i in range(min_minor, max_minor + 1)] %}

0 commit comments

Comments
 (0)