Commit Graph

16 Commits

Author SHA1 Message Date
Florian Bruhin
fcb39c1d7f Add types to extensions.loader 2018-12-10 12:37:58 +01:00
Florian Bruhin
b9cb98a5ef mypy: Add types for config.websettings 2018-12-05 17:48:56 +01:00
Florian Bruhin
f53fd56c3d mypy: Add annotations for qutebrowser.config.configtypes 2018-12-05 17:06:45 +01:00
Florian Bruhin
268ad40982 Add and enforce types for api.*/components.* 2018-12-04 15:52:14 +01:00
Florian Bruhin
953042d75d mypy: Disable untyped decorators 2018-12-04 07:28:28 +01:00
Florian Bruhin
13dac9eef5 Revert "Revert "Add types for most of qutebrowser.config""
This reverts commit 7494d238ce.
2018-12-03 15:36:21 +01:00
Florian Bruhin
7494d238ce Revert "Add types for most of qutebrowser.config"
It breaks 'tsh' because of the *values annotation.
This reverts commit 208d3db475.
2018-12-03 13:17:23 +01:00
Florian Bruhin
208d3db475 Add types for most of qutebrowser.config 2018-12-03 12:35:51 +01:00
Florian Bruhin
7cbba4b3f1 Add type annotations for cmdutils 2018-11-29 14:18:11 +01:00
Florian Bruhin
168bc3dc49 Be stricter in mypy.ini 2018-11-29 14:18:11 +01:00
Florian Bruhin
d7786c694f Add type hints for qutebrowser.browser.browsertab 2018-11-27 20:45:37 +01:00
Florian Bruhin
ec0dc59b06 mypy: Disable warn_unused_configs
Looks like mypy's cache causes config sections to be ignored sometimes.
2018-11-27 08:53:20 +01:00
Florian Bruhin
6b5a92fb2d mypy: Update config 2018-11-26 23:24:31 +01:00
Florian Bruhin
1f36e56e1c Complete partial annotations
Unfortunately we can't turn on mypy's --disallow-incomplete-defs (yet) due to
https://github.com/python/mypy/issues/5954
2018-11-26 20:12:03 +01:00
Florian Bruhin
fda807ce9a mypy: Allow trivial --strict options 2018-11-26 19:03:07 +01:00
Florian Bruhin
7834e3c7dd mypy: Add mypy.ini to ignore missing modules 2018-11-26 18:25:12 +01:00