Skip to content

Commit

Permalink
Drop unneeded f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jun 3, 2020
1 parent 74cde77 commit 95bbf5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/eggsample-spam/eggsample_spam.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ def eggsample_prep_condiments(condiments):
except KeyError:
pass
condiments["spam sauce"] = 42
return f"Now this is what I call a condiments tray!"
return "Now this is what I call a condiments tray!"
2 changes: 1 addition & 1 deletion scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def create_branch(version):
"""Create a fresh branch from upstream/master"""
repo = Repo.init(".")
if repo.is_dirty(untracked_files=True):
raise RuntimeError(f"Repository is dirty, please commit/stash your changes.")
raise RuntimeError("Repository is dirty, please commit/stash your changes.")

branch_name = f"release-{version}"
print(f"{Fore.CYAN}Create {branch_name} branch from upstream master")
Expand Down

0 comments on commit 95bbf5e

Please sign in to comment.