only tidy perl files

This commit is contained in:
Yanick Champoux 2023-11-15 09:36:47 -05:00
parent 832e77e555
commit 7373177ec6
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ lab
.envrc
*.orig
*.tdy
*.ERR

View File

@ -17,7 +17,9 @@ if ($on_target) {
else {
my @files =
$git->diff( { name_only => 1, diff_filter => 'ACMR' }, $target_branch );
ok Test::PerlTidy::is_file_tidy($_), $_ for @files;
ok Test::PerlTidy::is_file_tidy($_), $_
for grep { /\.(pl|pm|pod|t)$/ } @files;
}
done_testing;