From f76f9ddf28f16704b9d91066f6cc151fc78329e1 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 23 Jul 2024 14:12:35 -0700 Subject: depfixer: Add missing annotation that breaks mypy check --- mesonbuild/scripts/depfixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py index 641689f93..db9c97d98 100644 --- a/mesonbuild/scripts/depfixer.py +++ b/mesonbuild/scripts/depfixer.py @@ -386,7 +386,7 @@ def get_darwin_rpaths(fname: str) -> OrderedSet[str]: # Need to deduplicate rpaths, as macOS's install_name_tool # is *very* allergic to duplicate -delete_rpath arguments # when calling depfixer on installation. - result = OrderedSet() + result: OrderedSet[str] = OrderedSet() current_cmd = 'FOOBAR' for line in out.split('\n'): line = line.strip() -- cgit v1.2.3