summaryrefslogtreecommitdiff
path: root/qutebrowser/config/config.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-12-02 17:51:46 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-12-02 17:54:38 +0100
commit49eddbe34c60599efbbd68d6704a6525628ff619 (patch)
tree80d09111c95de02682746565124d0083fb9d67af /qutebrowser/config/config.py
parent100e87ff0e9e80ef517be2af757a6f875a15334f (diff)
downloadqutebrowser-49eddbe34c60599efbbd68d6704a6525628ff619.tar.gz
qutebrowser-49eddbe34c60599efbbd68d6704a6525628ff619.zip
pylint: Work around used-before-assignment regression
See #6857 and https://github.com/PyCQA/pylint/issues/5342
Diffstat (limited to 'qutebrowser/config/config.py')
-rw-r--r--qutebrowser/config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py
index 437a54a33..8c9f3a4d0 100644
--- a/qutebrowser/config/config.py
+++ b/qutebrowser/config/config.py
@@ -195,7 +195,7 @@ class KeyConfig:
See #5942.
"""
- cmd_to_keys: KeyConfig._ReverseBindings = {}
+ cmd_to_keys: "KeyConfig._ReverseBindings" = {}
bindings = self.get_bindings_for(mode)
for seq, full_cmd in sorted(bindings.items()):
for cmdtext in full_cmd.split(';;'):