aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-07-08 09:42:52 -0700
committerEli Schwartz <eschwartz93@gmail.com>2023-01-03 14:49:02 -0500
commitd9dc5a7f74d492d057a808f7f18133e3b8235ba5 (patch)
tree320af4b6fe761e276fc04b9e48335ac1e116eb0e /mesonbuild/compilers/cpp.py
parent76bead7e15f402cb385c2a21116d8facd0daad75 (diff)
downloadmeson-d9dc5a7f74d492d057a808f7f18133e3b8235ba5.zip
meson-d9dc5a7f74d492d057a808f7f18133e3b8235ba5.tar.gz
meson-d9dc5a7f74d492d057a808f7f18133e3b8235ba5.tar.bz2
mlog: Remove using of `**kwargs: T.Any`
This is annoying because we can't get proper auto-completion of mlog, and because ultimately it was allowing keyword arguments to be silently dropped on the floor. This does make the code a little more verbose, but I think the trade-offs of completion + better safety are worth it. PEP692, which will be part of python 3.12, provides a more elegant solution using `TypedDicts` to annotate `**kwargs`, which we should consider in the future.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions