aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-02-28 15:52:42 -0800
committerDylan Baker <dylan@pnwbakers.com>2022-03-03 10:29:14 -0800
commit82f43ba8c5a1140456407d6cfa98f401d3657c7b (patch)
tree73c211090bf410aa15807538e86813ab99e29c3c /mesonbuild/interpreter/interpreter.py
parent5787f816159a96d4654cef276866dfbcae7619d8 (diff)
downloadmeson-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.py2
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,