summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-07-10 10:14:03 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-07-10 10:14:03 +0200
commit72aee69c9f295bf2dffaf38d8b5721b168963692 (patch)
tree924815c5e3d085ec213b0e5e1d034de27602c651
parent9fcba3d61b67506c57ac851c8d73df0d78a77c0e (diff)
downloadqutebrowser-72aee69c9f295bf2dffaf38d8b5721b168963692.tar.gz
qutebrowser-72aee69c9f295bf2dffaf38d8b5721b168963692.zip
Fix lint after dropping PyQt6-stubs
-rw-r--r--qutebrowser/keyinput/eventfilter.py1
-rw-r--r--qutebrowser/qt/_core_pyqtproperty.py2
-rw-r--r--scripts/dev/changelog_urls.json1
3 files changed, 1 insertions, 3 deletions
diff --git a/qutebrowser/keyinput/eventfilter.py b/qutebrowser/keyinput/eventfilter.py
index ef1cd7c31..3f8d2779f 100644
--- a/qutebrowser/keyinput/eventfilter.py
+++ b/qutebrowser/keyinput/eventfilter.py
@@ -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
diff --git a/qutebrowser/qt/_core_pyqtproperty.py b/qutebrowser/qt/_core_pyqtproperty.py
index 24f96ea12..8ae62264f 100644
--- a/qutebrowser/qt/_core_pyqtproperty.py
+++ b/qutebrowser/qt/_core_pyqtproperty.py
@@ -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")
diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json
index 34464bef0..89d3b332a 100644
--- a/scripts/dev/changelog_urls.json
+++ b/scripts/dev/changelog_urls.json
@@ -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",