diff options
author | Guillem Jover <guillem@debian.org> | 2018-10-13 13:11:38 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-01-22 13:41:55 +0100 |
commit | 5c9ff51023b54ab56c5f0a8e141b707ac75ed99d (patch) | |
tree | b3393d736ac18919bb31a6576298ebf519dea900 /t/shellcheck.t | |
parent | 46136dbf6811efdb1383940a04fd4575afada65f (diff) | |
download | dpkg-5c9ff51023b54ab56c5f0a8e141b707ac75ed99d.tar.gz |
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.
Diffstat (limited to 't/shellcheck.t')
-rw-r--r-- | t/shellcheck.t | 10 |
1 files changed, 5 insertions, 5 deletions
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; |