Skip to content

Commit 926917b

Browse files
committed
fix missing newline on gend files
1 parent 2d5e41c commit 926917b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

templates/.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% raw %}
1+
{% raw -%}
22
name: CI
33

44
on:
@@ -85,4 +85,5 @@ jobs:
8585
else
8686
pre-commit run --from-ref origin/$DEFAULT_BRANCH --to-ref $CUR_SHA
8787
fi
88-
{% endraw %}
88+
{%- endraw %}
89+

templates/.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ repos:
4040
- id: shellcheck # Lints shell scripts to identify syntax and usage errors, with a specified severity of 'warning'.
4141
args:
4242
- --severity=warning
43-
44-
{% if python %}
43+
{% if python +%}
4544
#############################################################################
4645
# Python
4746
#############################################################################
@@ -92,7 +91,7 @@ repos:
9291
# hooks:
9392
# - id: poetry-check # Makes sure the poetry configuration does not get committed in a broken state.
9493
# - id: poetry-lock # Ensures the poetry.lock file is up-to-date with the pyproject.toml changes.
95-
{% endif %}
94+
{%+ endif %}
9695
#############################################################################
9796
# CSS, Markdown, JavaScript, TypeScript, YAML style formatter
9897
#############################################################################

0 commit comments

Comments
 (0)