File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def generate_build_file_contents(name: str, dependencies: List[str]) -> str:
3737 )
3838
3939
40- def generate_requirements_file_contents (repo_name : str , targets : Iterable [str ]):
40+ def generate_requirements_file_contents (repo_name : str , targets : Iterable [str ]) -> str :
4141 """Generate a requirements.bzl file for a given pip repository
4242
4343 The file allows converting the PyPI name to a bazel label. Additionally, it adds a function which can glob all the
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def path(self) -> str:
2222
2323 @property
2424 def name (self ) -> str :
25- return self .metadata .name
25+ return str ( self .metadata .name )
2626
2727 @property
2828 def metadata (self ) -> pkginfo .Wheel :
You can’t perform that action at this time.
0 commit comments