a0d0b6464f
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. |
||
---|---|---|
.. | ||
ci | ||
pylint_checkers | ||
__init__.py | ||
build_release.py | ||
check_coverage.py | ||
check_doc_changes.py | ||
cleanup.py | ||
freeze_tests.py | ||
freeze.py | ||
gen_resources.py | ||
get_coredumpctl_traces.py | ||
Makefile-dmg | ||
misc_checks.py | ||
quit_segfault_test.sh | ||
run_frozen_tests.py | ||
run_profile.py | ||
run_pylint_on_tests.py | ||
run_vulture.py | ||
segfault_test.py | ||
src2asciidoc.py | ||
strip_whitespace.sh | ||
ua_fetch.py | ||
update_3rdparty.py |