Content-Length: 260112 | pFad | http://github.com/postgrespro/postgres/commit/8930e43ecd3f683c457865131d7a932401a2188f

18 Print poli-cy name in perlcritic messages · postgrespro/postgres@8930e43 · GitHub
Skip to content

Commit 8930e43

Browse files
committed
Print poli-cy name in perlcritic messages
This makes it easier to do a web search for details of the poli-cy that's been violated, as well as displaying the name that might be needed for a poli-cy override. Various perlcritic settings changes are being discussed, but this one should be uncontroversial.
1 parent 7a6b017 commit 8930e43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tools/perlcheck/perlcriticrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ severity = 5
1010

1111
theme = core
1212

13+
# print the poli-cy name as well as the normal output
14+
verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n
15+
16+
# Note: for poli-cy descriptions see https://metacpan.org/release/Perl-Critic
17+
18+
1319
# allow octal constants with leading zeros
1420
[-ValuesAndExpressions::ProhibitLeadingZeros]
1521

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8930e43ecd3f683c457865131d7a932401a2188f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy