diff --git a/.github/ISSUE_TEMPLATE/2_Feature_request.md b/.github/ISSUE_TEMPLATE/2_Feature_request.md
index f0a0532c57..1de40f6cbb 100644
--- a/.github/ISSUE_TEMPLATE/2_Feature_request.md
+++ b/.github/ISSUE_TEMPLATE/2_Feature_request.md
@@ -4,7 +4,7 @@ about: Suggest an idea for a new feature or an improvement. 3Liz's paid software
title: ''
labels:
- 'enhancement'
- - 'Sponsor or PR needed'
+ - 'Sponsor or PR needed'
assignees: ''
---
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fd49963519..f3a7a0fb26 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.2.0
+ rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: ^lizmap/app/overloads|lizmap/app/themes|lizmap/www/assets/
diff --git a/lizmap/www/themes/default/css/img/loading.svg b/lizmap/www/themes/default/css/img/loading.svg
index 7eb3bca3f6..c8aaa193e0 100644
--- a/lizmap/www/themes/default/css/img/loading.svg
+++ b/lizmap/www/themes/default/css/img/loading.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/tests/end2end/playwright/attribute-table.spec.js b/tests/end2end/playwright/attribute-table.spec.js
index 80c13804fb..7bf3497b7c 100644
--- a/tests/end2end/playwright/attribute-table.spec.js
+++ b/tests/end2end/playwright/attribute-table.spec.js
@@ -69,4 +69,4 @@ test.describe('Attribute table data restricted to map extent', () => {
getFeatureRequestContains(await getFeatureRequestPromise);
});
-});
\ No newline at end of file
+});
diff --git a/tests/end2end/playwright/legend.spec.js b/tests/end2end/playwright/legend.spec.js
index dcdd4cd0ce..a28eaa9da8 100644
--- a/tests/end2end/playwright/legend.spec.js
+++ b/tests/end2end/playwright/legend.spec.js
@@ -141,4 +141,4 @@ test.describe('Checkboxes on groups', () => {
await expect(page.getByLabel('sub-group1')).not.toBeChecked();
await expect(page.getByTestId('quartiers').getByLabel('quartiers')).toBeChecked();
});
-});
\ No newline at end of file
+});
diff --git a/tests/end2end/playwright/viewport.spec.js b/tests/end2end/playwright/viewport.spec.js
index 24d61f4ea9..1af949e0cd 100644
--- a/tests/end2end/playwright/viewport.spec.js
+++ b/tests/end2end/playwright/viewport.spec.js
@@ -261,4 +261,4 @@ test.describe('Viewport standard', () => {
expect(await page.evaluate(() => lizMap.mainLizmap.map.getView().getZoom())).toBe(1);
// Do not check GetMap request because it is the same as the first one
})
-})
\ No newline at end of file
+})
diff --git a/tests/qgis-projects/tests/invalid_layer.qgs b/tests/qgis-projects/tests/invalid_layer.qgs
index f8a0eed8f8..b1b49c50d5 100644
--- a/tests/qgis-projects/tests/invalid_layer.qgs
+++ b/tests/qgis-projects/tests/invalid_layer.qgs
@@ -1749,4 +1749,4 @@
-
\ No newline at end of file
+
diff --git a/tests/qgis-projects/tests/lizmap_features_table.qgs b/tests/qgis-projects/tests/lizmap_features_table.qgs
index 5c2db3f077..d981ebff24 100644
--- a/tests/qgis-projects/tests/lizmap_features_table.qgs
+++ b/tests/qgis-projects/tests/lizmap_features_table.qgs
@@ -664,7 +664,7 @@ ouvert.
Utilisez cette fonction pour ajouter une logique supplémentaire à vos formulaires.
-Entrez le nom de la fonction dans le champ
+Entrez le nom de la fonction dans le champ
"Fonction d'initialisation Python".
Voici un exemple:
"""
@@ -1217,7 +1217,7 @@ ouvert.
Utilisez cette fonction pour ajouter une logique supplémentaire à vos formulaires.
-Entrez le nom de la fonction dans le champ
+Entrez le nom de la fonction dans le champ
"Fonction d'initialisation Python".
Voici un exemple:
"""
diff --git a/tests/qgis-projects/tests/popup.qgs b/tests/qgis-projects/tests/popup.qgs
index 47a9fc73cb..480d0a633d 100644
--- a/tests/qgis-projects/tests/popup.qgs
+++ b/tests/qgis-projects/tests/popup.qgs
@@ -1442,7 +1442,7 @@ ouvert.
Utilisez cette fonction pour ajouter une logique supplémentaire à vos formulaires.
-Entrez le nom de la fonction dans le champ
+Entrez le nom de la fonction dans le champ
"Fonction d'initialisation Python".
Voici un exemple:
"""
@@ -1714,4 +1714,4 @@ def my_form_open(dialog, layer, feature):
-
\ No newline at end of file
+
diff --git a/tests/qgis-projects/tests/print.qgs b/tests/qgis-projects/tests/print.qgs
index 797b3fcd13..1bd94acd63 100644
--- a/tests/qgis-projects/tests/print.qgs
+++ b/tests/qgis-projects/tests/print.qgs
@@ -3835,4 +3835,4 @@ def my_form_open(dialog, layer, feature):
-
\ No newline at end of file
+
diff --git a/tests/qgis-projects/tests/theme.qgs b/tests/qgis-projects/tests/theme.qgs
index c1205e6691..dfca2c9bd0 100644
--- a/tests/qgis-projects/tests/theme.qgs
+++ b/tests/qgis-projects/tests/theme.qgs
@@ -4294,4 +4294,4 @@ def my_form_open(dialog, layer, feature):
-
\ No newline at end of file
+