diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-02-28 15:52:42 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-03-03 10:29:14 -0800 |
commit | 82f43ba8c5a1140456407d6cfa98f401d3657c7b (patch) | |
tree | 73c211090bf410aa15807538e86813ab99e29c3c /mesonbuild/interpreter/interpreter.py | |
parent | 5787f816159a96d4654cef276866dfbcae7619d8 (diff) | |
download | meson-82f43ba8c5a1140456407d6cfa98f401d3657c7b.zip meson-82f43ba8c5a1140456407d6cfa98f401d3657c7b.tar.gz meson-82f43ba8c5a1140456407d6cfa98f401d3657c7b.tar.bz2 |
interpreter: fix Interpreter type annotations
default_options should be `T.Dict[OptionKey, str]`, not `T.Dict[str,
str]`.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 1f778c8..5e8240e 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -260,7 +260,7 @@ class Interpreter(InterpreterBase, HoldableObject): subproject: str = '', subdir: str = '', subproject_dir: str = 'subprojects', - default_project_options: T.Optional[T.Dict[str, str]] = None, + default_project_options: T.Optional[T.Dict[OptionKey, str]] = None, mock: bool = False, ast: T.Optional[mparser.CodeBlockNode] = None, is_translated: bool = False, |