From 56d3c90f4947795f9e2ae3f64179883964ee7f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sun, 21 Apr 2024 23:01:15 +0200 Subject: [PATCH] interpreter: Fix lint warning introduced in d9f4910 --- mesonbuild/interpreter/dependencyfallbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter/dependencyfallbacks.py b/mesonbuild/interpreter/dependencyfallbacks.py index d2abdf4ea5f0..64b638105a5f 100644 --- a/mesonbuild/interpreter/dependencyfallbacks.py +++ b/mesonbuild/interpreter/dependencyfallbacks.py @@ -218,7 +218,7 @@ def _get_cached_dep(self, name: str, kwargs: TYPE_nkwargs) -> T.Optional[Depende override = self.build.dependency_overrides[self.for_machine].get(identifier) if not override and self.subproject_name: - identifier_without_modules = tuple([(k, v) for k, v in identifier if k not in {'modules', 'optional_modules'}]) + identifier_without_modules = tuple((k, v) for k, v in identifier if k not in {'modules', 'optional_modules'}) if identifier_without_modules != identifier: override = self.build.dependency_overrides[self.for_machine].get(identifier_without_modules) if override: