correct pep8 rules

This commit is contained in:
Dylan Jeannin committed 2026-05-11 14:59:14 +02:00
1 parent 606b9919e3
commit c38e3ee446
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ class D90TableModel(PamhyrTableModel):
self._data,
self._data._data,
[data_rows[id(self._lst[row])] for row in rows
if 0 <= row < len(self._lst)]
if 0 <= row < len(self._lst)]
)
)
+2 -2
View File
@@ -267,12 +267,12 @@ class D90AdisTSWindow(PamhyrWindow):
undo_stack = self._undo_stack
if undo_stack is None or not undo_stack.canUndo():
return
if isinstance(undo_stack.command(undo_stack.index() - 1), SetCommand):
self._table.undo()
else:
self._table_spec.undo()
self._update()
def _redo(self):
+2 -2
View File
@@ -238,8 +238,8 @@ class DIFTableModel(PamhyrTableModel):
DelCommand(
self._data,
self._data._data,
[data_rows[id(self._lst[row])] for row in rows
if 0 <= row < len(self._lst)]
[data_rows[id(self._lst[row])] for row in rows
if 0 <= row < len(self._lst)]
)
)
self._setup_lst()