Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Set severity of Pylint info messages to "Low" instead of "Medium". Fi…
Browse files Browse the repository at this point in the history
…xes issue jenkinsci#49
  • Loading branch information
piwai committed Apr 25, 2016
1 parent cab7103 commit 5e51c1a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ PyLintViolation getPyLintViolation(String line) {
*
* <pre>
* The different message types are:
* (I) information, e.g. if some violations have been locally disabled
* (C) convention, for programming standard violation
* (R) refactor, for bad code smell
* (W) warning, for python specific problems
Expand All @@ -146,6 +147,7 @@ PyLintViolation getPyLintViolation(String line) {
private void setServerityLevel(Violation violation, String messageType) {

switch (messageType.charAt(0)) {
case 'I':
case 'C':
violation.setSeverity(Severity.LOW);
violation.setSeverityLevel(Severity.LOW_VALUE);
Expand Down

0 comments on commit 5e51c1a

Please sign in to comment.