[openpgp-applet] 23/61: Adjust Perl::Critic modifications

Clément Hermann nodens-guest at moszumanska.debian.org
Sat Aug 15 19:15:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

nodens-guest pushed a commit to annotated tag OpenPGP_Applet-0.9
in repository openpgp-applet.

commit 0036ca1cc05c4adc80ed9dad7e001e12c83f337f
Author: Clément Hermann (nodens) <nodens at nodens.org>
Date:   Fri Aug 15 19:25:50 2014 +0200

    Adjust Perl::Critic modifications
    
    - Any::Moose already enables strict.
    - adds a proper perlcritic.rc to ignore it
---
 lib/Crypt/OpenPGP_Applet/GnuPG/Interface.pm | 1 -
 perlcritic.rc                               | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Crypt/OpenPGP_Applet/GnuPG/Interface.pm b/lib/Crypt/OpenPGP_Applet/GnuPG/Interface.pm
index e1e0440..084958f 100644
--- a/lib/Crypt/OpenPGP_Applet/GnuPG/Interface.pm
+++ b/lib/Crypt/OpenPGP_Applet/GnuPG/Interface.pm
@@ -1,5 +1,4 @@
 package Crypt::OpenPGP_Applet::GnuPG::Interface;
-use strict;
 
 use Any::Moose;
 extends 'GnuPG::Interface';
diff --git a/perlcritic.rc b/perlcritic.rc
new file mode 100644
index 0000000..38bf3b4
--- /dev/null
+++ b/perlcritic.rc
@@ -0,0 +1,2 @@
+[TestingAndDebugging::RequireUseStrict]
+equivalent_modules = Any::Moose

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/openpgp-applet.git



More information about the Pkg-perl-cvs-commits mailing list