The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Perl::Critic::Git - Test module to run perl critic on changed git files

VERSION

Version 0.000101

SUBROUTINES/METHODS

critic_on_changed_ok

Run perl critic on changed files and and raises errors, or even not :-D

SYNOPSIS

    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});

DIAGNOSTICS

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

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.

DESCRIPTION

Test module to run perl critic on changed git files

CONFIGURATION AND ENVIRONMENT

configurable by import sub

AUTHOR

Mario Zieschang, <mziescha at cpan.org>

LICENSE AND COPYRIGHT