Skip to content

Commit

Permalink
ruff: use f-string in scripts/version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed May 11, 2024
1 parent 263b0fa commit 0f4c361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
sys.exit(0)

VERSION = ""
with open("%s/core.py" % scalDir, encoding="utf-8") as _file:
with open(f"{scalDir}/core.py", encoding="utf-8") as _file:
while True:
line = _file.readline()
if line.startswith("VERSION"):
Expand Down

0 comments on commit 0f4c361

Please sign in to comment.