MTG/dunya-desktop

View on GitHub
dunyadesktop_app/widgets/queryframe.py

Summary

Maintainability
A
1 hr
Test Coverage

Function __init__ has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def __init__(self, parent=None):
        QFrame.__init__(self, parent)

        # grid layout for main window
        layout_main = QGridLayout(self)
Severity: Minor
Found in dunyadesktop_app/widgets/queryframe.py - About 1 hr to fix

    Blank line contains whitespace
    Open

            
    Severity: Minor
    Found in dunyadesktop_app/widgets/queryframe.py by pep8

    Trailing whitespace is superfluous.

    The warning returned varies on whether the line itself is blank,
    for easier filtering for those who want to indent their blank lines.
    
    Okay: spam(1)\n#
    W291: spam(1) \n#
    W293: class Foo(object):\n    \n    bang = 12

    There are no issues that match your filters.

    Category
    Status