152class NukeServerSocket(QMainWindow):
153
154 def __init__(self, editor: EditorController, parent=None):
155 """Init method for NukeServerSocket.156
157 NOTE: Most variables are bound to the class only to avoid garbage collection.
158
95 ).strip()
96
97 def set_input(self, data: ReceivedData) -> None:
98 """Override the base method.""" 99
100 ext = os.path.splitext(data.file)[1]
101
54
55
56def main():
57 """Main function for NukeServerSocket."""58
59 app = QApplication(sys.argv)
60 window = LocalEditor()
95 ).strip()
96
97 def set_input(self, data: ReceivedData) -> None:
98 """Override the base method.""" 99
100 ext = os.path.splitext(data.file)[1]
101
54
55
56def main():
57 """Main function for NukeServerSocket."""58
59 app = QApplication(sys.argv)
60 window = LocalEditor()
There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.
def example():
'''Bad docstring.'''
pass
def example():
'''Good docstring.'''
pass