Test::Perl::Critic::Git - Test module to run perl critic on changed git files
Version 0.000101
Run perl critic on changed files and and raises errors, or even not :-D
Test::Perl::Critic::Git->import( -severity => $self->{severity} // 'brutal', -profile => $self->{profile} // File::Spec->catfile($Bin, 'critic', 'profilerc'), ($self->{exclude} ? (-exclude => $self->{exclude}) : ()), ); return Test::Perl::Critic::Git::critic_on_changed_ok($self->{dirs});
Internal usage
Git::Diff,Perl::Critic,Test::Builder, Perl::Critic::Utils,Perl::Critic::Violation
A list of current bugs and issues can be found at the CPAN site
https://gitlab.com/mziescha/test-perl-critic-git/issues
To report a new bug or problem, use the link on this page.
Test module to run perl critic on changed git files
configurable by import sub
Mario Zieschang, <mziescha at cpan.org>
<mziescha at cpan.org>
To install Test::Perl::Critic::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Perl::Critic::Git
CPAN shell
perl -MCPAN -e shell install Test::Perl::Critic::Git
For more information on module installation, please visit the detailed CPAN module installation guide.