Обсуждение: pgsql: Add a script and a config file to run perlcritic

Поиск
Список
Период
Сортировка

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

От
Andrew Dunstan
Дата:
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(+)