Fix lint after dropping PyQt6-stubs

This commit is contained in:
Florian Bruhin 2023-07-10 10:14:03 +02:00
parent 9fcba3d61b
commit 72aee69c9f
3 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,6 @@
from typing import cast
from qutebrowser.qt import machinery
from qutebrowser.qt.core import pyqtSlot, QObject, QEvent
from qutebrowser.qt.gui import QKeyEvent, QWindow

View File

@ -11,7 +11,7 @@ import typing
from PyQt6.QtCore import QObject, pyqtSignal
if typing.TYPE_CHECKING:
QObjectT = typing.TypeVar("QObjectT", bound="QObject")
QObjectT = typing.TypeVar("QObjectT", bound=QObject)
TPropertyTypeVal = typing.TypeVar("TPropertyTypeVal")

View File

@ -104,7 +104,6 @@
"PyQt-builder": "https://www.riverbankcomputing.com/news",
"PyQt5-sip": "https://www.riverbankcomputing.com/news",
"PyQt5-stubs": "https://github.com/python-qt-tools/PyQt5-stubs/blob/master/CHANGELOG.md",
"PyQt6-stubs": "https://github.com/python-qt-tools/PyQt6-stubs/commits/main",
"sip": "https://www.riverbankcomputing.com/news",
"PyQt6": "https://www.riverbankcomputing.com/news",
"PyQt6-Qt6": "https://www.riverbankcomputing.com/news",