qutebrowser/scripts
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
..
dev Use typing.py-like annotations for command args 2016-05-18 06:55:17 +02:00
testbrowser_cpp Add minimal C++ testbrowser 2016-04-05 06:56:57 +02:00
__init__.py Move developer scripts to dev/ subfolder. 2015-06-28 22:31:30 +02:00
asciidoc2html.py Fix lint 2016-04-01 08:16:28 +02:00
hostblock_blame.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
importer.py Added option to output in "bookmark" format, clarified some "help" msgs 2016-03-25 13:01:21 -07:00
keytester.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
link_pyqt.py link_pyqt: fix crash with spaces in pypath 2016-05-08 01:08:36 +02:00
setupcommon.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
testbrowser.py Rename minimal_webkit_testbrowser.py to testbrowser.py 2016-03-31 06:29:48 +02:00
utils.py Adjust copyright years. 2016-01-04 07:12:39 +01:00