qutebrowser/qutebrowser/browser
Florian Bruhin a0d0b6464f Use typing.py-like annotations for command args
This means:

- An annotation like (int, str) is now typing.Union[int, str].
- utils.typing got expanded so it acts like the real typing.py, with
  issubclass() working properly with typing.Union and __union_params__
  being set.
- A literal string doesn't exist anymore as annotation, instead
  @cmdutils.argument now has a 'choices' argument which can be used like
  @cmdutils.argument('arg', choices=['val1', 'val2']).
- Argument validating/converting is now entirely handled by
  argparser.type_conv instead of relying on python's argparse, i.e.
  type/choices is now not passed to argparse anymore.
2016-05-18 06:55:17 +02:00
..
network Fix running qute:log and qute:plainlog 2016-05-15 11:33:30 +02:00
__init__.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
adblock.py Use @cmdutils.argument for win_id/count 2016-05-18 06:55:17 +02:00
cache.py Merge branch 'issue-1412' of https://github.com/Kingdread/qutebrowser into Kingdread-issue-1412 2016-04-27 21:19:04 +02:00
commands.py Use typing.py-like annotations for command args 2016-05-18 06:55:17 +02:00
cookies.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
downloads.py Use @cmdutils.argument for win_id/count 2016-05-18 06:55:17 +02:00
downloadview.py Avoid DownloadView being focused when pressing tab 2016-03-31 19:45:36 +02:00
hints.py Use @cmdutils.argument for win_id/count 2016-05-18 06:55:17 +02:00
history.py Show debug instead of warning for #670 2016-05-08 22:08:08 +02:00
http.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
inspector.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
mhtml.py Various code style improvements 2016-04-27 20:25:27 +02:00
pdfjs.py Various code style improvements 2016-04-27 20:25:27 +02:00
rfc6266.py flake8: Add flake8-pep3101 plugin. 2016-01-22 19:40:10 +01:00
signalfilter.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
tabhistory.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
urlmarks.py Fix long lines 2016-05-18 06:55:17 +02:00
webelem.py Various code style improvements 2016-04-27 20:25:27 +02:00
webpage.py Fix types in @pyqtSlot decorations 2016-04-26 20:34:38 +02:00
webview.py Fix types in @pyqtSlot decorations 2016-04-26 20:34:38 +02:00