diff --git a/generate_parameter_library_py/generate_parameter_library_py/parse_yaml.py b/generate_parameter_library_py/generate_parameter_library_py/parse_yaml.py index ad92c79..c32c3a3 100644 --- a/generate_parameter_library_py/generate_parameter_library_py/parse_yaml.py +++ b/generate_parameter_library_py/generate_parameter_library_py/parse_yaml.py @@ -870,6 +870,9 @@ def __str__(self): # ), } - j2_template = Template(GenerateCode.templates['parameter_library_header']) + j2_template = Template( + GenerateCode.templates['parameter_library_header'], + keep_trailing_newline=True, + ) code = j2_template.render(data, trim_blocks=True) return code