Skip to content

Commit

Permalink
fix(pip): guess what: type hint for readPipReport (again.again)
Browse files Browse the repository at this point in the history
for mypy
  • Loading branch information
MrLixm committed Nov 5, 2023
1 parent e84bb29 commit a18e09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rez_pip/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ def _readPipReport(reportPath: str) -> typing.Dict[typing.Any, typing.Any]:
Retrieve the json report generated by pip as json dict object.
"""
with open(reportPath, "r", encoding="utf-8") as reportFile:
reportContent = json.load(reportFile)
reportContent: typing.Dict[typing.Any, typing.Any] = json.load(reportFile)
return reportContent

0 comments on commit a18e09e

Please sign in to comment.