Skip to content

Commit

Permalink
fix(setup): Subprocess run with ignored non-zero exit (PYL-W1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyl-M committed Aug 18, 2024
1 parent 35cd461 commit 0bb3aa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def get_version_from_git():
try:
version = (
subprocess.run([git_path, "describe", "--tags"],
check=True,
stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
)
return version
Expand Down

0 comments on commit 0bb3aa1

Please sign in to comment.