Dylan Baker
a1fb3199c8
interpreterobjects: Add TypedDict annoations for `extract_search_dirs`
...
This allows for more accurate type checking
2021-08-16 16:21:51 -07:00
Dylan Baker
09d7da19c1
interpreter: use typed_kwargs for include_directories
2021-07-07 11:21:03 -07:00
Dylan Baker
bc4201a7f1
interpreter: add required and disabled to import
...
This is useful both from the perspective of optional functionality that
requires a module, and also as I continue to progress with Meson++,
which will probably not implement all of the modules that Meson itself
does.
2021-06-30 16:28:14 -07:00
Dylan Baker
7213b7d81f
interpreter: use typed_kwargs for install_man
2021-06-22 09:13:41 -07:00
Dylan Baker
f4d2efbed3
interpreter: use typed_kwargs for install_headers
2021-06-22 09:13:41 -07:00
Dylan Baker
ea3d85a1c0
interpreter: use typed_kwargs for install_data
2021-06-22 09:13:41 -07:00
Dylan Baker
596c8d4af5
interpreter: use typed_kwargs for install_subdir
2021-06-22 09:12:54 -07:00
Daniel Mensinger
7c757dff71
holders: Fix the remaining code to respect the holder changes
2021-06-18 23:48:33 +02:00
Dylan Baker
c422621317
interpreterobjects|build: use typed_kwargs for generator.process
2021-06-15 12:48:53 -07:00
Dylan Baker
491c756dc9
interpreter: use typed_kwargs for func_generator
...
Do the type checking in a nice tidy way
2021-06-15 12:48:53 -07:00
Dylan Baker
2bc7a1b3da
modules/qt: fully annotate and check qt.has_tools
2021-06-15 12:36:05 -07:00
Dylan Baker
e2266e8708
interpreter: use typed_*args for test and benchmark
...
this also requires some changes to the Rust module, as it calls into the
test code.
2021-06-14 12:30:02 -07:00
Dylan Baker
3f9a81e7f1
interpreter: use typed_kwargs for the add_*_arguments family
...
This makes use of the new convertor and validator arguments, so that we
can check that the languages passed are in fact vaild, and then convert
the native boolean into a MachineChoice internally.
2021-06-08 11:00:55 +02:00