diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c8ce541e38..b995a7300dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: check-merge-conflict - id: check-vcs-permalinks - id: end-of-file-fixer - files: \.(hxx|java|md|mk|ya?ml)$ + files: \.(hxx|java|md|mk|pl|pm|ya?ml)$ - id: mixed-line-ending files: ^main/.*\.(c|h)xx$ - repo: https://github.com/codespell-project/codespell diff --git a/main/cppuhelper/test/testdefaultbootstrapping.pl b/main/cppuhelper/test/testdefaultbootstrapping.pl index 401a2fb4f68..0a0e0e1644d 100644 --- a/main/cppuhelper/test/testdefaultbootstrapping.pl +++ b/main/cppuhelper/test/testdefaultbootstrapping.pl @@ -268,6 +268,3 @@ () print "Commnent:\n", $comment, "\n"; } print "**************************\n"; - - - diff --git a/main/extensions/source/update/check/transform.pl b/main/extensions/source/update/check/transform.pl index d1b38b20a28..a869c049e33 100644 --- a/main/extensions/source/update/check/transform.pl +++ b/main/extensions/source/update/check/transform.pl @@ -54,4 +54,4 @@ } print; -} \ No newline at end of file +} diff --git a/main/helpcontent2/helpers/checkuno.pl b/main/helpcontent2/helpers/checkuno.pl index 6361b563d24..c4b4132fdff 100644 --- a/main/helpcontent2/helpers/checkuno.pl +++ b/main/helpcontent2/helpers/checkuno.pl @@ -68,6 +68,3 @@ } else { die "Cannot open $uno_cmd: $!\n"; } - - - diff --git a/main/helpcontent2/helpers/update_tree.pl b/main/helpcontent2/helpers/update_tree.pl index c6cbc950811..0d32236b154 100644 --- a/main/helpcontent2/helpers/update_tree.pl +++ b/main/helpcontent2/helpers/update_tree.pl @@ -392,4 +392,3 @@ sub read_loc { print "\ndone reading a total of ".$total_elements." localized titles for ".scalar(keys(%loc_title))." languages from ".scalar @files ." files\n"; print sort(@langstat); } - diff --git a/main/l10ntools/scripts/fast_merge.pl b/main/l10ntools/scripts/fast_merge.pl index 1f3240f8309..18540504236 100644 --- a/main/l10ntools/scripts/fast_merge.pl +++ b/main/l10ntools/scripts/fast_merge.pl @@ -326,5 +326,3 @@ sub read_sdf_file_names } close ( FILE ); } - - diff --git a/main/migrationanalysis/src/driver_docs/ulf2dat.pl b/main/migrationanalysis/src/driver_docs/ulf2dat.pl index de18a28b18e..5dbdb3ec9b5 100644 --- a/main/migrationanalysis/src/driver_docs/ulf2dat.pl +++ b/main/migrationanalysis/src/driver_docs/ulf2dat.pl @@ -144,4 +144,3 @@ sub usage { print STDERR " -i input ulf file\n"; print STDERR " -help print this help info\n\n"; }; - diff --git a/main/postprocess/rebase/rebase.pl b/main/postprocess/rebase/rebase.pl index f4103a49427..52e2a4c0b04 100755 --- a/main/postprocess/rebase/rebase.pl +++ b/main/postprocess/rebase/rebase.pl @@ -295,4 +295,3 @@ sub usage return; } - diff --git a/main/sal/qa/buildall.pl b/main/sal/qa/buildall.pl index b1d9b41a62e..4126695e4c9 100644 --- a/main/sal/qa/buildall.pl +++ b/main/sal/qa/buildall.pl @@ -498,4 +498,3 @@ ($) # -fan - \ | / # END! - diff --git a/main/sal/qa/helper/gcov/gcov_filter.pl b/main/sal/qa/helper/gcov/gcov_filter.pl index 7b8c339db82..f3e09619ef9 100755 --- a/main/sal/qa/helper/gcov/gcov_filter.pl +++ b/main/sal/qa/helper/gcov/gcov_filter.pl @@ -444,4 +444,3 @@ (*) END_OF_USAGE ; } - diff --git a/main/sal/test/bootstrap.pl b/main/sal/test/bootstrap.pl index af9423f9abd..431d9c1bb7e 100755 --- a/main/sal/test/bootstrap.pl +++ b/main/sal/test/bootstrap.pl @@ -251,6 +251,3 @@ print "Commnent:\n", $comment, "\n"; } print "**************************\n"; - - - diff --git a/main/sc/addin/util/cl2c.pl b/main/sc/addin/util/cl2c.pl index 566a9621c0d..75cbbde8c73 100644 --- a/main/sc/addin/util/cl2c.pl +++ b/main/sc/addin/util/cl2c.pl @@ -228,5 +228,3 @@ sub maketext { close(COUT); exit 0; - - diff --git a/main/sd/res/webview/edit.pl b/main/sd/res/webview/edit.pl index 3f4436242d1..f10ce2934b8 100755 --- a/main/sd/res/webview/edit.pl +++ b/main/sd/res/webview/edit.pl @@ -15,4 +15,4 @@
-