dnstats/dnstatsio

View on GitHub
dnstats/grading/soa.py

Summary

Maintainability
A
30 mins
Test Coverage

Avoid too many return statements within this function.
Open

    return max(final_grade - (5 * len(soa.errors)), 0), soa.errors
Severity: Major
Found in dnstats/grading/soa.py - About 30 mins to fix

    Blank line at end of file
    Open

    Severity: Minor
    Found in dnstats/grading/soa.py by pep8

    Trailing blank lines are superfluous.

    Okay: spam(1)
    W391: spam(1)\n
    
    However the last line should end with a new line (warning W292).

    There are no issues that match your filters.

    Category
    Status