[SCM] Debian package checker branch, master, updated. 2.4.3-186-g837fc42
The following commit has been merged in the master branch:
commit ad9deb64ec6dfff06ec484be0f135de13051bd27
Author: Raphael Geissert <atomo64@gmail.com>
Date: Wed Jan 26 18:10:06 2011 -0600
Enable a couple more Perl::Critic policies
diff --git a/.perlcriticrc b/.perlcriticrc
index 4b17837..b7b3074 100644
--- a/.perlcriticrc
+++ b/.perlcriticrc
@@ -7,7 +7,7 @@ severity = 1
# Work based on a whitelist
only = 1
# Our whitelist (ignores severity):
-include = MixedBooleanOperators ExplicitReturnUndef InteractiveTest GlobFunction UpperCaseHeredoc NegativeIndices PrivateVars UselessInitialization UnusedVariables ReusedNames PackageVars MatchVars ConditionalDeclarations NumberSeparators NullStatements LongChainsOfMethodCalls UseStrict UseWarnings SingleCharAlternation UnusedCapture FixedStringMatches EndWithOne ConditionalUseStatements TwoArgOpen PackageMatchesPodName JoinedReadline UnreachableCode QuotedWordLists TrailingWhitespace Capitalization InterpolationOfLiterals
+include = MixedBooleanOperators ExplicitReturnUndef InteractiveTest GlobFunction UpperCaseHeredoc NegativeIndices PrivateVars UselessInitialization UnusedVariables ReusedNames PackageVars MatchVars ConditionalDeclarations NumberSeparators NullStatements LongChainsOfMethodCalls UseStrict UseWarnings SingleCharAlternation UnusedCapture FixedStringMatches EndWithOne ConditionalUseStatements TwoArgOpen PackageMatchesPodName JoinedReadline UnreachableCode QuotedWordLists TrailingWhitespace Capitalization InterpolationOfLiterals ImplicitNewlines CommaSeparatedStatements
# If you want to try some other stuff, uncomment the following
# (exclude is an incomplete list of things we probably won't change)
@@ -24,3 +24,6 @@ allow-unsafe = 1
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
allow_if_string_contains_single_quote = 1
+
+[ValuesAndExpressions::ProhibitCommaSeparatedStatements]
+allow_last_statement_to_be_comma_separated_in_map_and_grep = 1
--
Debian package checker
Reply to: