Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Mar 21, 2024
1 parent 95c8df7 commit 31aeba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/_build_utils/gitversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import textwrap


def init_version():
def init_version() -> str:
init = os.path.join(os.path.dirname(__file__), "../../pyproject.toml")
with open(init) as fid:
data = fid.readlines()
Expand All @@ -18,7 +18,7 @@ def init_version():
return version


def git_version(version):
def git_version(version) -> tuple[str, str]:
# Append last commit date and hash to dev version information,
# if available

Expand Down

0 comments on commit 31aeba4

Please sign in to comment.