From d857e0fe60cabb026f90f4162cac65ced293cda7 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Mon, 31 Aug 2026 23:26:36 +0200 Subject: [PATCH] Add .perlcritic policy overrides for test suite --- .perlcritic | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .perlcritic diff --git a/.perlcritic b/.perlcritic new file mode 100644 index 0000000..1695d0a --- /dev/null +++ b/.perlcritic @@ -0,0 +1,17 @@ +# Perl::Critic policy overrides for the testssl.sh test suite (t/) +# +# see https://github.com/Perl-Critic/Perl-Critic + +# General setting: That would deliver way more +# severity = 3 + + +# Test helpers commonly use subroutine prototypes (e.g. sub helper ($$)); +# harmless in test code. +[Subroutines::ProhibitSubroutinePrototypes] +severity = 4 + +# Intentional octal file-permission literals (0400, 0100) in t/00_testssl_help.t. +[ValuesAndExpressions::ProhibitLeadingZeros] +severity = 4 +