diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:32:38 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:32:38 +0200 |
commit | 3679d3a05b273cbac206c52632ae0c369e7cccf2 (patch) | |
tree | 5c1a3367429479b2cc9a5c95336f11657e725b3a /qutebrowser/commands | |
parent | e25a96de948f96365e87c6f53bba0753abd17711 (diff) | |
download | qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.tar.gz qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.zip |
mypy: Disallow incomplete defs globally
Diffstat (limited to 'qutebrowser/commands')
-rw-r--r-- | qutebrowser/commands/runners.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/commands/runners.py b/qutebrowser/commands/runners.py index ec052b263..76ae1d64f 100644 --- a/qutebrowser/commands/runners.py +++ b/qutebrowser/commands/runners.py @@ -332,7 +332,7 @@ class CommandRunner(AbstractCommandRunner): self._win_id = win_id @contextlib.contextmanager - def _handle_error(self, safely) -> typing.Iterator[None]: + def _handle_error(self, safely: bool) -> typing.Iterator[None]: """Show exceptions as errors if safely=True is given.""" try: yield |