Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Rickerby <joerick@mac.com>
  • Loading branch information
henryiii and joerick committed Sep 16, 2022
1 parent 7c571c0 commit ae50189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cibuildwheel/functools_cached_property_38.py
Expand Up @@ -21,7 +21,7 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
if self.attrname is None:
self.attrname = name
elif name != self.attrname:
msg = "Cannot assign the same cached_property to two different names ({self.attrname!r} and {name!r})."
msg = f"Cannot assign the same cached_property to two different names ({self.attrname!r} and {name!r})."
raise TypeError(msg)

@overload
Expand Down
2 changes: 1 addition & 1 deletion cibuildwheel/logger.py
Expand Up @@ -197,7 +197,7 @@ def build_description_from_identifier(identifier: str) -> str:
elif python_interpreter == "pp":
build_description += "PyPy"
else:
msg = "unknown python {python_interpreter!r}"
msg = f"unknown python {python_interpreter!r}"
raise Exception(msg)

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

0 comments on commit ae50189

Please sign in to comment.