aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 13491eb..54edb45 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()