Repository: django-cms/djangocms-alias (language: python)

Issue:
Pre-commit bot breaks tests
The precommit bot automatically adds a newline to all HTML templates. This breaks the tests. 

`templates/djangocms_alias/default/alias.html` must not have a newline at the end.


Discussion / hints:

Fix patch:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8810c118..287dea71 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -31,5 +31,4 @@ repos:
     rev: v4.5.0
     hooks:
     -   id: check-yaml
-    -   id: end-of-file-fixer
     -   id: trailing-whitespace
diff --git a/djangocms_alias/templates/djangocms_alias/default/alias.html b/djangocms_alias/templates/djangocms_alias/default/alias.html
index 873ab08b..a04b049d 100644
--- a/djangocms_alias/templates/djangocms_alias/default/alias.html
+++ b/djangocms_alias/templates/djangocms_alias/default/alias.html
@@ -1,1 +1,1 @@
-{% load djangocms_alias_tags %}{% render_alias instance.alias %}
+{% load djangocms_alias_tags %}{% render_alias instance.alias %}
\ No newline at end of file


Test patch:
diff --git a/djangocms_alias/test_utils/text/templates/text/text.html b/djangocms_alias/test_utils/text/templates/text/text.html
index a7e9c555..041f8ea6 100644
--- a/djangocms_alias/test_utils/text/templates/text/text.html
+++ b/djangocms_alias/test_utils/text/templates/text/text.html
@@ -1,1 +1,1 @@
-{{ instance.body|safe }}
+{{ instance.body|safe }}
\ No newline at end of file
diff --git a/tests/templates/djangocms_alias/custom_alias_template/alias.html b/tests/templates/djangocms_alias/custom_alias_template/alias.html
index bdffa336..86f14533 100644
--- a/tests/templates/djangocms_alias/custom_alias_template/alias.html
+++ b/tests/templates/djangocms_alias/custom_alias_template/alias.html
@@ -1,1 +1,1 @@
-{% load djangocms_alias_tags %}<b>{% render_alias instance.alias %}</b>
+{% load djangocms_alias_tags %}<b>{% render_alias instance.alias %}</b>
\ No newline at end of file