[libcode-tidyall-perl] 18/374: add

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:25:41 UTC 2013


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

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit 5cd0d678951941dce92d503913304ac8a6290ae1
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Fri Jun 15 18:18:19 2012 -0500

    add
---
 .perlcriticrc |   15 +++++++++++++++
 tidyall.ini   |   11 +++++++++++
 2 files changed, 26 insertions(+)

diff --git a/.perlcriticrc b/.perlcriticrc
new file mode 100644
index 0000000..ad93334
--- /dev/null
+++ b/.perlcriticrc
@@ -0,0 +1,15 @@
+severity = 5
+
+# Some methods (like $cache->get()) are only meant to be called in scalar context,
+# so really should always return undef rather than the empty list.
+[-Subroutines::ProhibitExplicitReturnUndef]
+
+# Necessary for generating named subroutines
+[TestingAndDebugging::ProhibitNoStrict]
+allow = refs
+
+# Doesn't recognize use in mkpath
+[-ValuesAndExpressions::ProhibitLeadingZeros]
+
+[TestingAndDebugging::RequireUseStrict]
+equivalent_modules = Test::Class::Most
diff --git a/tidyall.ini b/tidyall.ini
new file mode 100644
index 0000000..8a7ca32
--- /dev/null
+++ b/tidyall.ini
@@ -0,0 +1,11 @@
+[PerlTidy]
+argv = -noll
+perl_tidy_class = JS::Perl::Tidy
+select = {bin,lib,t}/**/*.{pl,pm,t}
+
+[PodTidy]
+select = {bin,lib}/**/*.{pl,pm,pod}
+
+[PerlCritic]
+select = lib/**/*.pm
+argv = --profile $ROOT/.perlcriticrc

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



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