[dpkg] 41/192: test: Disable perlcritic ValuesAndExpressions::ProhibitEscapedCharacter

Ximin Luo infinity0 at debian.org
Tue Oct 17 11:03:56 UTC 2017


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

infinity0 pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit c96fef71fc69b4d30ef60f7dfb5790fc1d5d31b6
Author: Guillem Jover <guillem at debian.org>
Date:   Thu May 18 00:07:14 2017 +0200

    test: Disable perlcritic ValuesAndExpressions::ProhibitEscapedCharacter
---
 debian/changelog      | 1 +
 t/critic/perlcriticrc | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 393735b..9ece8fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ dpkg (1.19.0) UNRELEASED; urgency=medium
   * Test suite:
     - Enable perlcritic Documentation::RequirePodSections and
       Miscellanea::ProhibitTies.
+    - Disable perlcritic ValuesAndExpressions::ProhibitEscapedCharacter.
 
  -- Guillem Jover <guillem at debian.org>  Thu, 18 May 2017 05:27:31 +0200
 
diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc
index 308cc04..30b8205 100644
--- a/t/critic/perlcriticrc
+++ b/t/critic/perlcriticrc
@@ -113,6 +113,9 @@ allow_if_string_contains_single_quote = 1
 # TODO: Check it out, using other quotes might be less readable and uniform.
 [-ValuesAndExpressions::ProhibitEmptyQuotes]
 
+# Using charnames is less clear.
+[-ValuesAndExpressions::ProhibitEscapedCharacters]
+
 # Used for help output.
 [-ValuesAndExpressions::ProhibitImplicitNewlines]
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list