Skip to content

Commit

Permalink
Tried second addition of PySide6 to installs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Baintner committed Aug 15, 2023
1 parent f021d10 commit 4ad0327
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install PySide6
sudo apt install protobuf-compiler
- name: Build proto bindings
run: |
Expand Down
4 changes: 2 additions & 2 deletions utils/table_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def make_editable(table_widget: QTableWidget) -> None:
class EditableDelegate(QStyledItemDelegate):
"""Allow editing of QTableWidget."""

def createEditor(self, parent, option, index):
def createEditor(self, parent, option, index): # pylint: disable=invalid-name
# Allow editing by returning the default editor
return QStyledItemDelegate.createEditor(self, parent, option, index)
delegate = EditableDelegate()
Expand All @@ -55,7 +55,7 @@ def make_read_only_selectable(table_widget):
class ReadOnlyDelegate(QStyledItemDelegate):
"""Prevent editing of QTableWidget."""

def createEditor(self, parent, option, index):
def createEditor(self, parent, option, index): # pylint: disable=invalid-name
"""Prevent editing of QTableWidget by returning None."""
del parent, option, index
delegate = ReadOnlyDelegate()
Expand Down

0 comments on commit 4ad0327

Please sign in to comment.