Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 28, 2024
1 parent 1724369 commit 083d33f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qtpy/QtWidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,11 @@ def __getattr__(name):
QFileDialog.Options = lambda value=0: QFileDialog.Option(value)

# https://github.com/jupyter/qtconsole/issues/624
if parse(_qt_version) >= parse('6.8.0'):
if parse(_qt_version) >= parse("6.8.0"):

def setExtraSelections(self, selections):
self.selections = selections

QTextEdit.setExtraSelections = setExtraSelections


Expand Down

0 comments on commit 083d33f

Please sign in to comment.