dnstats/grading/soa.py
Avoid too many return
statements within this function. Open
Open
return max(final_grade - (5 * len(soa.errors)), 0), soa.errors
Blank line at end of file Open
Open
- Read upRead up
- Exclude checks
Trailing blank lines are superfluous.
Okay: spam(1)
W391: spam(1)\n
However the last line should end with a new line (warning W292).