maestro-server/analytics-maestro

View on GitHub
app/libs/template/symbol.py

Summary

Maintainability
A
35 mins
Test Coverage
F
28%

Function ellipse has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def ellipse(self, cx, cy, rx, ry, class_):
Severity: Minor
Found in app/libs/template/symbol.py - About 35 mins to fix

    Missing whitespace after ','
    Open

            return self.dwg.ellipse(center=(cx,cy), r=(rx, ry), **opts)
    Severity: Minor
    Found in app/libs/template/symbol.py by pep8

    Each comma, semicolon or colon should be followed by whitespace.

    Okay: [a, b]
    Okay: (3,)
    Okay: a[1:4]
    Okay: a[:4]
    Okay: a[1:]
    Okay: a[1:4:2]
    E231: ['a','b']
    E231: foo(bar,baz)
    E231: [{'a':'b'}]

    No newline at end of file
    Open

            return flt
    Severity: Minor
    Found in app/libs/template/symbol.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