Pamhyr2: Fix pep8.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-09-04 16:52:42 +02:00
1 parent 83ecdc9a88
commit fd54116d55
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ class DeleteScenariosCommand(QUndoCommand):
self._scenario.set_as_deleted() self._scenario.set_as_deleted()
class SetCommand(QUndoCommand): class SetCommand(QUndoCommand):
def __init__(self, scenario, column, new_value): def __init__(self, scenario, column, new_value):
QUndoCommand.__init__(self) QUndoCommand.__init__(self)
-2
View File
@@ -257,7 +257,6 @@ class ASubWindowFeatures(object):
""" """
self.find(QTextEdit, name).setEnabled(enable) self.find(QTextEdit, name).setEnabled(enable)
def get_text_edit_text(self, name: str): def get_text_edit_text(self, name: str):
"""Get text of text edit component """Get text of text edit component
@@ -328,7 +327,6 @@ class ASubWindowFeatures(object):
""" """
self.find(QCheckBox, name).setEnabled(enable) self.find(QCheckBox, name).setEnabled(enable)
def get_check_box(self, name: str): def get_check_box(self, name: str):
"""Get status of checkbox component """Get status of checkbox component