[libcode-tidyall-perl] 59/374: update
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 22:25:49 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 2188bce1d7b5085763b2b37c1c9b087a25023641
Author: Jonathan Swartz <swartz at pobox.com>
Date: Fri Jun 29 10:35:03 2012 -0700
update
---
.perlcriticrc | 19 ++++++-------------
tidyall.ini | 5 ++++-
2 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/.perlcriticrc b/.perlcriticrc
index ad93334..a1aa3fd 100644
--- a/.perlcriticrc
+++ b/.perlcriticrc
@@ -1,15 +1,8 @@
-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]
+only = 1
+severity = 1
+verbose = %m at %f line %l [%p]\n
+[Moose::RequireMakeImmutable]
[TestingAndDebugging::RequireUseStrict]
-equivalent_modules = Test::Class::Most
+equivalent_modules = Mason::Moose Test::Class::Most Mason::PluginRole
+[Variables::ProhibitConditionalDeclarations]
diff --git a/tidyall.ini b/tidyall.ini
index ec8ca0f..8902b6a 100644
--- a/tidyall.ini
+++ b/tidyall.ini
@@ -1,10 +1,13 @@
+tidyall_class = JS::Code::TidyAll
+
[PerlTidy]
argv = -noll -l=100
-perl_tidy_class = JS::Perl::Tidy
select = {bin,lib,t}/**/{tidyall,*.{pl,pm,t}}
+modes = editor
[PodTidy]
select = {bin,lib}/**/{tidyall,*.{pl,pm,pod}}
+modes = editor
[PerlCritic]
select = lib/**/*.pm
--
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