pgsql: Add a script and a config file to run perlcritic

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add a script and a config file to run perlcritic
Date: 2018-05-09 12:00:03
Message-ID: E1fGNlL-0001QO-GO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-05-09 13:38:28 pgsql: Remove useless 'default' clause
Previous Message Teodor Sigaev 2018-05-09 10:23:43 pgsql: Improve jsonb cast error message