Skip to content

Commit

Permalink
Apply ruff/flynt rule FLY002
Browse files Browse the repository at this point in the history
FLY002 Consider f-string instead of string join
  • Loading branch information
DimitriPapadopoulos committed Jan 15, 2025
1 parent 93c568d commit 7abf08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wheel/_bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def write_wheelfile(
for impl in impl_tag.split("."):
for abi in abi_tag.split("."):
for plat in plat_tag.split("."):
msg["Tag"] = "-".join((impl, abi, plat))
msg["Tag"] = f"{impl}-{abi}-{plat}"

wheelfile_path = os.path.join(wheelfile_base, "WHEEL")
log.info(f"creating {wheelfile_path}")
Expand Down

0 comments on commit 7abf08f

Please sign in to comment.