diff options
author | Tristan van Berkom <tristan@codethink.co.uk> | 2020-08-24 16:52:39 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan@codethink.co.uk> | 2020-09-04 15:03:54 +0900 |
commit | 07a91d1d7b9b7e53292e66511e159d96028a091a (patch) | |
tree | 510b144c12bc05f6204060da73ec1ccf43a69f40 /src/buildstream/plugin.py | |
parent | 878cedbcfdfcdac5f214c69396cfa49ee3f1fdf7 (diff) | |
download | buildstream-07a91d1d7b9b7e53292e66511e159d96028a091a.tar.gz |
plugin.py: Fixed annotations for node_get_project_path() to return a string.
Diffstat (limited to 'src/buildstream/plugin.py')
-rw-r--r-- | src/buildstream/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugin.py b/src/buildstream/plugin.py index deb105a3b..bc61ae7d6 100644 --- a/src/buildstream/plugin.py +++ b/src/buildstream/plugin.py @@ -364,7 +364,7 @@ class Plugin: """ return self.__kind - def node_get_project_path(self, node, *, check_is_file=False, check_is_dir=False): + def node_get_project_path(self, node, *, check_is_file=False, check_is_dir=False) -> str: """Fetches a project path from a dictionary node and validates it Paths are asserted to never lead to a directory outside of the |