[Libreoffice-commits] core.git: .git-hooks/pre-commit
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 3 08:40:01 UTC 2018
.git-hooks/pre-commit | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9d11ab9295b479e8d817e5dd37337b4fb8af7581
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Wed Oct 3 00:42:20 2018 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Oct 3 10:39:39 2018 +0200
Add Python files to pre-commit hook checks
Change-Id: Ie5a631abe25a25bab9e74b353994f0788fe3dd06
Reviewed-on: https://gerrit.libreoffice.org/61279
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit
index 5ab539466827..7ef34809165a 100755
--- a/.git-hooks/pre-commit
+++ b/.git-hooks/pre-commit
@@ -15,8 +15,8 @@ $ENV{LC_ALL} = "C";
sub check_whitespaces($)
{
my ($h) = @_;
- my $src_limited = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl";
- my $src_full = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|mk|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl";
+ my $src_limited = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl|py";
+ my $src_full = "c|cpp|cxx|h|hrc|hxx|idl|inl|java|swift|map|mk|MK|pmk|pl|pm|sdi|sh|src|tab|ui|xcu|xml|xsl|py";
my $found_bad = 0;
my $filename;
More information about the Libreoffice-commits
mailing list