This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e2cbd84d34db56c986684baa5cfe5a6a4160b82c commit e2cbd84d34db56c986684baa5cfe5a6a4160b82c Author: Guillem Jover <[email protected]> AuthorDate: Wed Oct 16 03:15:04 2024 +0200 Dpkg::OpenPGP::Backend::GnuPG: Ignore ValuesAndExpressions::ProhibitMagicNumbers The function needs these hex constants, and they are mostly used via variables, but because «use constants» is a module scoped pragma, it would pollute the entire module. Warned-by: perlcritic --- scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm b/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm index 8c2387202..a5f3f627d 100644 --- a/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm +++ b/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm @@ -142,6 +142,7 @@ sub _pgp_armor_checksum { # The resulting three-octet-wide value then gets base64-encoded into # four base64 ASCII characters. + ## no critic (ValuesAndExpressions::ProhibitMagicNumbers) my $CRC24_INIT = 0xB704CE; my $CRC24_GENERATOR = 0x864CFB; -- Dpkg.Org's dpkg

