[Reproducible-commits] [dpkg] 16/74: test: Bump ValuesAndExpressions::RequireNumberSeparators minimum to 99999

Mattia Rizzolo mattia at debian.org
Sun Jul 3 22:22:53 UTC 2016


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

mattia pushed a commit to annotated tag 1.18.8
in repository dpkg.

commit 707dcbf39165396bf852790e7d309d4cf78123cc
Author: Guillem Jover <guillem at debian.org>
Date:   Fri May 13 17:09:52 2016 +0200

    test: Bump ValuesAndExpressions::RequireNumberSeparators minimum to 99999
    
    Up to 5 digits should be considered visually clear.
---
 debian/changelog      | 3 +++
 t/critic/perlcriticrc | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d73f88f..0b5ca5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ dpkg (1.18.8) UNRELEASED; urgency=medium
   [ Guillem Jover ]
   * Perl modules:
     - Use warnings::warnif() instead of carp() for deprecated warnings.
+  * Test suite:
+    - Bump perlcritic ValuesAndExpressions::RequireNumberSeparators minimum
+      to 99999.
   * Documentation:
     - Improve dpkg-buildpackage(1) on environment expectations.
     - Clarify the format of the db:Status-Abbrev virtual field in
diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc
index 43e25e9..1708e1f 100644
--- a/t/critic/perlcriticrc
+++ b/t/critic/perlcriticrc
@@ -23,6 +23,10 @@ minimum_regex_length_to_complain_about = 60
 # TODO: switch these to q{} ?
 allow_if_string_contains_single_quote = 1
 
+[ValuesAndExpressions::RequireNumberSeparators]
+# Up to 5 digits considered visually clear.
+min_value = 99999
+
 ##
 ## Disable tests
 ##

-- 
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