diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-10-22 23:42:58 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-10-24 15:16:02 +0300 |
commit | e27653499a20b48c25424f645aae23d9dbca91af (patch) | |
tree | 07ca64ee01f9b1c6549ec89aed33336fefc3c169 /mesonbuild/compilers/swift.py | |
parent | 9c4d6088b1f061c7cd8dba00eda5e72427ad3d0e (diff) | |
download | meson-e27653499a20b48c25424f645aae23d9dbca91af.zip meson-e27653499a20b48c25424f645aae23d9dbca91af.tar.gz meson-e27653499a20b48c25424f645aae23d9dbca91af.tar.bz2 |
add option to typed_kwargs that allows unknown kwargs through
Some functions cannot be fully type checked, because our API allows
fully arbitrary kwargs and treats them as data to pass through to the
underlying feature. For example, hotdoc command line arguments.
This change allows us to type check some kwargs with known types and
possibly required status, and make their values consistent(ly defaultable),
while preserving the optional nature of the additional kwargs.
Diffstat (limited to 'mesonbuild/compilers/swift.py')
0 files changed, 0 insertions, 0 deletions