summaryrefslogtreecommitdiff
path: root/qutebrowser/commands
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-15 18:48:12 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-10-15 18:59:55 +0200
commitfe2463c63bd06c1a2a0c0a9326b166908a42101f (patch)
tree2964311d3218a4b6f268611fb6a495b1da180f16 /qutebrowser/commands
parent02bde80f0b968b20c86403fa38f8e3a5a6391eea (diff)
downloadqutebrowser-fe2463c63bd06c1a2a0c0a9326b166908a42101f.tar.gz
qutebrowser-fe2463c63bd06c1a2a0c0a9326b166908a42101f.zip
mypy: check_untyped_defs for qutebrowser.mainwindow
Diffstat (limited to 'qutebrowser/commands')
-rw-r--r--qutebrowser/commands/command.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py
index 41d4c1e54..a813bd123 100644
--- a/qutebrowser/commands/command.py
+++ b/qutebrowser/commands/command.py
@@ -244,8 +244,9 @@ class Command:
args = self._param_to_argparse_args(param, is_bool)
callsig = debug_utils.format_call(self.parser.add_argument, args,
kwargs, full=False)
- log.commands.vdebug('Adding arg {} of type {} -> {}' # type: ignore
- .format(param.name, typ, callsig))
+ log.commands.vdebug( # type: ignore
+ 'Adding arg {} of type {} -> {}'
+ .format(param.name, typ, callsig))
self.parser.add_argument(*args, **kwargs)
if param.kind == inspect.Parameter.VAR_POSITIONAL:
self._has_vararg = True