Skip to content

Commit a98e90b

Browse files
committed
Keep trailing newlines in templates
1 parent c497b41 commit a98e90b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

helpers/generate_modules/generate_modules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def template_options(self, base):
5454

5555
def main(argv):
5656
env = Environment(
57+
keep_trailing_newline=True,
5758
loader=FileSystemLoader(TEMPLATE_FOLDER),
5859
trim_blocks=True,
5960
lstrip_blocks=True,

0 commit comments

Comments
 (0)