build: fix type annotations fo project_*_args
These are Dict[str, Dict[str, List[str]]], unlike global arguments
because they must store the information per subproject
@@ -213,9 +213,9 @@ class Build:
environment.is_cross_build(), {}, {})
self.global_link_args: PerMachine[T.Dict[str, T.List[str]]] = PerMachineDefaultable.default(
environment.is_cross_build(), {}, {})
- self.projects_args: PerMachine[T.Dict[str, T.List[str]]] = PerMachineDefaultable.default(
+ self.projects_args: PerMachine[T.Dict[str, T.Dict[str, T.List[str]]]] = PerMachineDefaultable.default(
environment.is_cross_build(), {}, {})
- self.projects_link_args: PerMachine[T.Dict[str, T.List[str]]] = PerMachineDefaultable.default(
+ self.projects_link_args: PerMachine[T.Dict[str, T.Dict[str, T.List[str]]]] = PerMachineDefaultable.default(
environment.is_cross_build(), {}, {})
self.tests: T.List['Test'] = []
self.benchmarks: T.List['Test'] = []
