mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 16:49:52 +00:00
Fix our evaluation formula
This commit is contained in:
parent
bda3124ffa
commit
0827df3e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ reports=no
|
||||||
# respectively contain the number of errors / warnings messages and the total
|
# respectively contain the number of errors / warnings messages and the total
|
||||||
# number of statements analyzed. This is used by the global evaluation report
|
# number of statements analyzed. This is used by the global evaluation report
|
||||||
# (RP0004).
|
# (RP0004).
|
||||||
evaluation=100.0 - ((float(5 * error + warning + refactor + convention) / statement) * 100)
|
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
|
||||||
|
|
||||||
# Template used to display messages. This is a python new-style format string
|
# Template used to display messages. This is a python new-style format string
|
||||||
# used to format the message information. See doc for all details
|
# used to format the message information. See doc for all details
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue