diff options
Diffstat (limited to 'examples/pylintrc')
-rw-r--r-- | examples/pylintrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pylintrc b/examples/pylintrc index eb48b4a1f..8fb3c179a 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -94,7 +94,7 @@ enable=c-extension-no-member # which contain the number of messages in each category, as well as 'statement' # which is the total number of statements analyzed. This score is used by the # global evaluation report (RP0004). -evaluation=0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) +evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)) # Template used to display messages. This is a python new-style format string # used to format the message information. See doc for all details. |