dunyadesktop_app/widgets/queryframe.py
Function __init__
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def __init__(self, parent=None):
QFrame.__init__(self, parent)
# grid layout for main window
layout_main = QGridLayout(self)
Blank line contains whitespace Open
Open
- Read upRead up
- Exclude checks
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