Skip to content

Commit c8d1144

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2c299ff commit c8d1144

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

qtpy/QtGui.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
set_shortcuts,
2222
)
2323

24-
2524
_missing_optional_names = {}
2625

2726
_QTOPENGL_NAMES = {

qtpy/QtWidgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def __getattr__(name):
3636
from PyQt5.QtWidgets import *
3737
elif PYQT6:
3838
from PyQt6 import QtWidgets
39-
from PyQt6.QtWidgets import *
4039
from PyQt6.QtGui import (
4140
QActionGroup,
4241
QFileSystemModel,
4342
QShortcut,
4443
QUndoCommand,
4544
)
45+
from PyQt6.QtWidgets import *
4646

4747
from qtpy.QtGui import QAction # See spyder-ide/qtpy#461
4848

@@ -111,8 +111,8 @@ def __getattr__(name):
111111
elif PYSIDE2:
112112
from PySide2.QtWidgets import *
113113
elif PYSIDE6:
114-
from PySide6.QtWidgets import *
115114
from PySide6.QtGui import QActionGroup, QShortcut, QUndoCommand
115+
from PySide6.QtWidgets import *
116116

117117
from qtpy.QtGui import QAction # See spyder-ide/qtpy#461
118118

qtpy/tests/test_qtgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_QAction_functions(qtbot):
198198

199199

200200
@pytest.mark.skipif(
201-
parse(QT_VERSION) < parse('6.5.0'),
201+
parse(QT_VERSION) < parse("6.5.0"),
202202
reason="Qt6 >= 6.5 specific test",
203203
)
204204
@pytest.mark.skipif(

0 commit comments

Comments
 (0)