New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Perl::Critic::Freenode to determine good coding style #1902
Conversation
Severity 4 (stern) is stricter than before, but still not very strict. You can check manually with |
Codecov Report
@@ Coverage Diff @@
## master #1902 +/- ##
==========================================
- Coverage 90.56% 90.47% -0.09%
==========================================
Files 148 148
Lines 10266 10369 +103
==========================================
+ Hits 9297 9381 +84
- Misses 969 988 +19
Continue to review full report at Codecov.
|
You need to add |
Also forgot to link to the actual rules that Perl::Critic::Freenode uses. They do mostly overlap with the high severity rules from core perlcritic, but some are not included, like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Despite WIP tag it looks already good to merge.
@Martchus Haha, and just as you say that the random cache service bug you were hunting hits.
Not restarting the Travis job yet in case you want to look at the result first. |
Good, I'll have a look. |
commit 359b5dd Merge: 70b7b06 6082894 Author: Sebastian Riedel <kraihx@gmail.com> AuthorDate: Mon Dec 3 10:43:49 2018 +0100 Commit: GitHub <noreply@github.com> CommitDate: Mon Dec 3 10:43:49 2018 +0100 Merge pull request #1902 from kraih/stricter_perl_critic Use Perl::Critic::Freenode to determine good coding style
This should be a well balanced set of rules to encourage a slightly better coding style. I've also fixed the dependency on
JSON
, which was missing fromcpanfile
, and removed the dependency onList::MoreUtils
, which was unnecessary.Progress: https://progress.opensuse.org/issues/44597.