From 06453ed7a47895fc8dc4db7cf062deb08dae23ef Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 28 Mar 2022 14:46:50 -0700 Subject: build: Add missing annotation to Target method --- mesonbuild/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 13491eb4e..54edb455b 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -595,7 +595,7 @@ class Target(HoldableObject, metaclass=abc.ABCMeta): return self.typename @staticmethod - def _get_id_hash(target_id): + def _get_id_hash(target_id: str) -> str: # We don't really need cryptographic security here. # Small-digest hash function with unlikely collision is good enough. h = hashlib.sha256() -- cgit v1.2.3