From 5c9ff51023b54ab56c5f0a8e141b707ac75ed99d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 13 Oct 2018 13:11:38 +0200 Subject: test: Add descriptions for the shellcheck exclude codes Having to refer to the documentation to know what these are about is annoying, inline a brief description. --- t/shellcheck.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 't/shellcheck.t') diff --git a/t/shellcheck.t b/t/shellcheck.t index e067345bc..0eb64bd05 100644 --- a/t/shellcheck.t +++ b/t/shellcheck.t @@ -40,11 +40,11 @@ my @files = qw( debian/dpkg.postrm scripts/dpkg-maintscript-helper.sh ); -my @shellcheck_opts = (qw( - --exclude=SC2039 - --exclude=SC2166 - --exclude=SC2034 -)); +my @shellcheck_opts = ( + '--exclude=SC2039', # Allow local keyword. + '--exclude=SC2166', # Allow -a and -o. + '--exclude=SC2034', # Allow unused variables for colors. +); plan tests => scalar @files; -- cgit v1.2.3