pgsql: Add a script and a config file to run perlcritic - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Add a script and a config file to run perlcritic
Date
Msg-id E1fGNlL-0001QO-GO@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add a script and a config file to run perlcritic

This is similar to what we do to run perltidy. For now we only run at
severity level 5. Over time we can improve our perl code and reduce the
severity level.

Discussion: https://postgr.es/m/86aa2a3a-0c68-21fb-9560-84ad6914d561@2ndQuadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91703ca2144e58d041c132fb7ff06a6d1721e904

Modified Files
--------------
src/tools/pgperlcritic/perlcriticrc | 14 ++++++++++++++
src/tools/pgperlcritic/pgperlcritic | 28 ++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Improve jsonb cast error message
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Remove useless 'default' clause