Skip to content

Commit c302a1d

Browse files
henryiiijoerick
andcommitted
Apply suggestions from code review
Co-authored-by: Joe Rickerby <[email protected]>
1 parent 534cada commit c302a1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cibuildwheel/functools_cached_property_38.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
2121
if self.attrname is None:
2222
self.attrname = name
2323
elif name != self.attrname:
24-
msg = "Cannot assign the same cached_property to two different names ({self.attrname!r} and {name!r})."
24+
msg = f"Cannot assign the same cached_property to two different names ({self.attrname!r} and {name!r})."
2525
raise TypeError(msg)
2626

2727
@overload

cibuildwheel/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def build_description_from_identifier(identifier: str) -> str:
197197
elif python_interpreter == "pp":
198198
build_description += "PyPy"
199199
else:
200-
msg = "unknown python {python_interpreter!r}"
200+
msg = f"unknown python {python_interpreter!r}"
201201
raise Exception(msg)
202202

203203
build_description += f" {python_version[0]}.{python_version[1:]} "

0 commit comments

Comments
 (0)