diff --git a/t/no-tabs.t b/t/no-tabs.t index bcc881d..2037fbc 100755 --- a/t/no-tabs.t +++ b/t/no-tabs.t @@ -38,6 +38,9 @@ sub checkFile # Nor about Makefiles return if ( $file =~ /\/Makefile$/ ); + # Nor about temporary files + return if ( $file =~ m{/\.[^/]+$} ); + # Nor about files which start with ./debian/ return if ( $file =~ /^\.\/debian\// ); diff --git a/t/perl-syntax.t b/t/perl-syntax.t index cef0284..0cd9406 100755 --- a/t/perl-syntax.t +++ b/t/perl-syntax.t @@ -41,6 +41,12 @@ sub checkFile # Nor about Makefiles return if ( $file =~ /\/Makefile$/ ); + # Nor about git files + return if ( $file =~ /^\.\/\.git\// ); + + # Nor about temporary files + return if ( $file =~ m{/\.[^/]+$} ); + # `modules.sh` is a false positive. return if ( $file =~ /modules.sh$/ );