qutebrowser/tests/unit
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
..
browser Fix lint 2016-05-08 11:14:42 +02:00
commands Use typing.py-like annotations for command args 2016-05-18 06:55:17 +02:00
completion Clean up assertion 2016-05-08 20:01:35 +02:00
config Allow flexible whitespace in color strings. 2016-05-03 23:15:39 -04:00
javascript tests: Default to raising=True for qtbot. 2016-01-08 09:49:06 +01:00
keyinput Revert "Handle counts for special keys." 2016-04-29 14:20:11 +02:00
mainwindow flake8: Add hacking 2016-04-08 07:35:53 +02:00
misc Various code style improvements 2016-04-27 20:25:27 +02:00
scripts Adjust copyright years. 2016-01-04 07:12:39 +01:00
utils Add initial support for the typing module 2016-05-18 06:55:17 +02:00