Skip to content

Commit

Permalink
make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Mar 21, 2024
1 parent 1f67ef0 commit ab0f9da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pandas/_build_utils/gitversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ def git_version(version: str) -> tuple[str, str]:

# Only attach git tag to development versions
if "dev" in version:
version += f"+git{git_date}.{ghash[:7]}"
ret_version = f"{version}+git{git_date}.{ghash[:7]}"
else:
ret_version = version

return version, ghash
return ret_version, ghash


if __name__ == "__main__":
Expand Down

0 comments on commit ab0f9da

Please sign in to comment.