diff options
author | Florian Bruhin <me@the-compiler.org> | 2024-03-25 12:15:03 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2024-03-25 12:15:03 +0100 |
commit | 01f4807eaf8d20dcc3802cd2febf9432568f3935 (patch) | |
tree | 7c7f3599124e6943bce9c24577b989639c942380 /qutebrowser/keyinput/keyutils.py | |
parent | 52c83cf4851650eb86d094e03365592b4f668982 (diff) | |
download | qutebrowser-01f4807eaf8d20dcc3802cd2febf9432568f3935.tar.gz qutebrowser-01f4807eaf8d20dcc3802cd2febf9432568f3935.zip |
mypy: Set local_partial_types = True
This is going to be default behavior in mypy 2.0, see:
- #8123
- https://mypy-lang.blogspot.com/2024/03/mypy-19-released.html
- https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types
Diffstat (limited to 'qutebrowser/keyinput/keyutils.py')
-rw-r--r-- | qutebrowser/keyinput/keyutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/keyinput/keyutils.py b/qutebrowser/keyinput/keyutils.py index af19bb61c..54b6e88b1 100644 --- a/qutebrowser/keyinput/keyutils.py +++ b/qutebrowser/keyinput/keyutils.py @@ -26,7 +26,7 @@ from qutebrowser.qt.gui import QKeySequence, QKeyEvent if machinery.IS_QT6: from qutebrowser.qt.core import QKeyCombination else: - QKeyCombination = None # QKeyCombination was added in Qt 6 + QKeyCombination: None = None # QKeyCombination was added in Qt 6 from qutebrowser.utils import utils, qtutils, debug |