Skip to content

Commit 85fdf34

Browse files
committed
chore: Lint
1 parent 4c3ac72 commit 85fdf34

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/fetch_version.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Note: Action must be run in Python 3.11 or later
22
import tomllib
33

4+
45
def fetch_version():
56
with open("pyproject.toml", "rb") as f:
67
pyproject = tomllib.load(f)
78
return pyproject["project"]["version"]
89

10+
911
if __name__ == "__main__":
10-
print(fetch_version())
12+
print(fetch_version())

0 commit comments

Comments
 (0)