Skip to content

Commit 3c54813

Browse files
authored
Merge pull request #162 from FoamyGuy/fix_newlines
fix newlines near import comment and version string
2 parents 63e7324 + b413f72 commit 3c54813

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

{{ cookiecutter and 'tmp_repo' }}/{% if cookiecutter.library_prefix %}{{ cookiecutter.library_prefix | lower | replace(" ", "_") }}_{% endif %}{{ cookiecutter.library_name | lower | replace(" ", "_") }}.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# imports
3838

39-
{%- if cookiecutter.target_bundle != 'CircuitPython Org' -%}
39+
{% if cookiecutter.target_bundle != 'CircuitPython Org' -%}
4040
{%- if cookiecutter.library_prefix -%}
4141
{%- set repo_name = (cookiecutter.library_prefix | capitalize) -%}
4242
{%- set repo_name = repo_name + '_CircuitPython_' -%}
@@ -45,9 +45,9 @@
4545
{%- set repo_name = 'CircuitPython_' -%}
4646
{%- set repo_name = repo_name + cookiecutter.library_name | replace(" ", "_") -%}
4747
{%- endif -%}
48-
{%- else -%}
48+
{% else -%}
4949
{%- set repo_name = 'CircuitPython_Org_' + cookiecutter.library_name | replace(" ", "_") -%}
50-
{%- endif -%}
50+
{% endif -%}
5151

5252
__version__ = "0.0.0-auto.0"
5353
__repo__ = "https://github.com/{{ cookiecutter.github_user }}/{{ repo_name }}.git"

0 commit comments

Comments
 (0)