diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-03-28 14:46:50 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-03-09 15:03:03 -0500 |
| commit | 06453ed7a47895fc8dc4db7cf062deb08dae23ef (patch) | |
| tree | 15282dd61becca47348424bf311db3d9e0c6d9be | |
| parent | 4cf5ad24632bcd11c008e64105ca11fa06c21332 (diff) | |
| download | meson-06453ed7a47895fc8dc4db7cf062deb08dae23ef.tar.gz | |
build: Add missing annotation to Target method
| -rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
